org.richfaces.application.push.impl
Class RequestImpl
java.lang.Object
org.richfaces.application.push.impl.RequestImpl
- All Implemented Interfaces:
- org.atmosphere.cpr.AtmosphereResourceEventListener, org.richfaces.application.push.Request
public class RequestImpl
- extends java.lang.Object
- implements org.richfaces.application.push.Request, org.atmosphere.cpr.AtmosphereResourceEventListener
- Author:
- Nick Belaevski
Constructor Summary |
RequestImpl(org.atmosphere.cpr.Meteor meteor,
org.richfaces.application.push.Session session)
|
Method Summary |
org.richfaces.application.push.Session |
getSession()
|
boolean |
isPolling()
|
void |
onBroadcast(org.atmosphere.cpr.AtmosphereResourceEvent<javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse> event)
|
void |
onDisconnect(org.atmosphere.cpr.AtmosphereResourceEvent<javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse> event)
|
void |
onResume(org.atmosphere.cpr.AtmosphereResourceEvent<javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse> event)
|
void |
onSuspend(org.atmosphere.cpr.AtmosphereResourceEvent<javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse> event)
|
void |
onThrowable(org.atmosphere.cpr.AtmosphereResourceEvent<javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse> event)
|
void |
postMessages()
|
void |
resume()
|
void |
suspend()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RequestImpl
public RequestImpl(org.atmosphere.cpr.Meteor meteor,
org.richfaces.application.push.Session session)
suspend
public void suspend()
- Specified by:
suspend
in interface org.richfaces.application.push.Request
resume
public void resume()
- Specified by:
resume
in interface org.richfaces.application.push.Request
isPolling
public boolean isPolling()
- Specified by:
isPolling
in interface org.richfaces.application.push.Request
getSession
public org.richfaces.application.push.Session getSession()
- Specified by:
getSession
in interface org.richfaces.application.push.Request
postMessages
public void postMessages()
- Specified by:
postMessages
in interface org.richfaces.application.push.Request
onSuspend
public void onSuspend(org.atmosphere.cpr.AtmosphereResourceEvent<javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse> event)
- Specified by:
onSuspend
in interface org.atmosphere.cpr.AtmosphereResourceEventListener
onResume
public void onResume(org.atmosphere.cpr.AtmosphereResourceEvent<javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse> event)
- Specified by:
onResume
in interface org.atmosphere.cpr.AtmosphereResourceEventListener
onDisconnect
public void onDisconnect(org.atmosphere.cpr.AtmosphereResourceEvent<javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse> event)
- Specified by:
onDisconnect
in interface org.atmosphere.cpr.AtmosphereResourceEventListener
onBroadcast
public void onBroadcast(org.atmosphere.cpr.AtmosphereResourceEvent<javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse> event)
- Specified by:
onBroadcast
in interface org.atmosphere.cpr.AtmosphereResourceEventListener
onThrowable
public void onThrowable(org.atmosphere.cpr.AtmosphereResourceEvent<javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse> event)
- Specified by:
onThrowable
in interface org.atmosphere.cpr.AtmosphereResourceEventListener
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.