|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.cometd.server.ClientImpl
org.atmosphere.plugin.bayeux.AtmosphereBayeuxClient
public class AtmosphereBayeuxClient
Extension of ClientImpl that uses Continuations to
resume clients waiting for messages. Continuation clients are used for
remote clients and have removed if they are not accessed within
an idle timeout (@link AtmosphereContinuationBayeux#_clientTimer).
| Field Summary | |
|---|---|
org.eclipse.jetty.util.thread.Timeout.Task |
_timeout
|
| Constructor Summary | |
|---|---|
protected |
AtmosphereBayeuxClient(AtmosphereContinuationBayeux bayeux)
|
| Method Summary | |
|---|---|
void |
access()
|
AtmosphereEvent |
getAtmosphereEvent()
|
boolean |
isLocal()
|
long |
lastAccessed()
|
void |
remove(boolean wasTimeout)
|
void |
resume()
|
void |
setAtmosphereEvent(AtmosphereEvent<HttpServletRequest,HttpServletResponse> event)
|
| Methods inherited from class org.cometd.server.ClientImpl |
|---|
addExtension, addListener, addSubscription, deliver, deliverLazy, disconnect, doDeliverListeners, doDelivery, endBatch, equals, getAdvice, getBrowserId, getConnectionType, getId, getLag, getMaxQueue, getMessages, getQueue, getTimeout, hasMessages, hasNonLazyMessages, isMetaConnectDeliveryOnly, removeListener, removeSubscription, responded, responsePending, returnMessages, setAdvice, setBrowserId, setConnectionType, setId, setLag, setMaxQueue, setMetaConnectDeliveryOnly, setTimeout, startBatch, takeMessages, toString, unsubscribeAll |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public transient org.eclipse.jetty.util.thread.Timeout.Task _timeout
| Constructor Detail |
|---|
protected AtmosphereBayeuxClient(AtmosphereContinuationBayeux bayeux)
| Method Detail |
|---|
public void setAtmosphereEvent(AtmosphereEvent<HttpServletRequest,HttpServletResponse> event)
public AtmosphereEvent getAtmosphereEvent()
public void resume()
resume in class org.cometd.server.ClientImplpublic boolean isLocal()
isLocal in interface org.cometd.ClientisLocal in class org.cometd.server.ClientImplpublic void access()
public long lastAccessed()
public void remove(boolean wasTimeout)
remove in class org.cometd.server.ClientImpl
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||