|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mortbay.cometd.ClientImpl
org.mortbay.cometd.continuation.ContinuationClient
SuspendingClient
public class ContinuationClient
Extension of ClientImpl
that uses Continuation
s 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 ContinuationBayeux#_clientTimer
).
Field Summary | |
---|---|
Timeout.Task |
_timeout
Deprecated. |
Constructor Summary | |
---|---|
protected |
ContinuationClient(ContinuationBayeux bayeux)
Deprecated. |
Method Summary | |
---|---|
void |
access()
Deprecated. |
Continuation |
getContinuation()
Deprecated. |
boolean |
isLocal()
Deprecated. |
long |
lastAccessed()
Deprecated. |
void |
remove(boolean wasTimeout)
Deprecated. |
void |
resume()
Deprecated. Called by deliver to resume anything waiting on this client. |
void |
setContinuation(Continuation continuation)
Deprecated. |
Methods inherited from class org.mortbay.cometd.ClientImpl |
---|
addListener, addSubscription, deliver, deliver, doDelivery, endBatch, equals, getAdviceVersion, getBrowserId, getConnectionType, getId, getListener, getMessages, getTimeout, hasMessages, isJSONCommented, publish, removeListener, removeSubscription, responded, responsePending, returnMessage, returnMessages, setAdviceVersion, setBrowserId, setConnectionType, setId, setJSONCommented, setListener, setTimeout, startBatch, subscribe, takeMessage, takeMessages, toString, unsubscribe, unsubscribeAll |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public transient Timeout.Task _timeout
Constructor Detail |
---|
protected ContinuationClient(ContinuationBayeux bayeux)
Method Detail |
---|
public void setContinuation(Continuation continuation)
public Continuation getContinuation()
public void resume()
ClientImpl
resume
in class ClientImpl
public boolean isLocal()
isLocal
in interface dojox.cometd.Client
isLocal
in class ClientImpl
public void access()
public long lastAccessed()
public void remove(boolean wasTimeout)
remove
in class ClientImpl
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |