|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.mortbay.cometd.MessagePool org.mortbay.cometd.AbstractBayeux org.mortbay.cometd.continuation.ContinuationBayeux
public class ContinuationBayeux
Extension of Bayeux that uses ContinuationClient
s.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.mortbay.cometd.AbstractBayeux |
---|
AbstractBayeux.ConnectHandler, AbstractBayeux.DefaultPolicy, AbstractBayeux.DisconnectHandler, AbstractBayeux.Handler, AbstractBayeux.HandshakeHandler, AbstractBayeux.MetaPublishHandler, AbstractBayeux.PingHandler, AbstractBayeux.PublishHandler, AbstractBayeux.ServiceChannel, AbstractBayeux.SubscribeHandler, AbstractBayeux.UnsubscribeHandler |
Field Summary |
---|
Fields inherited from interface org.cometd.Bayeux |
---|
ADVICE_FIELD, ATTRIBUTE, CHANNEL_FIELD, CLIENT_FIELD, CONNECTION_TYPE_FIELD, DATA_FIELD, ERROR_FIELD, EXT_FIELD, HANDSHAKE_RESPONSE, ID_FIELD, INTERVAL_FIELD, JSON_COMMENT_FILTERED_FIELD, JSON_CONTENT_TYPE, JSONP_DEFAULT_NAME, JSONP_PARAMETER, MESSAGE_PARAMETER, META, META_CLIENT, META_CONNECT, META_DISCONNECT, META_HANDSHAKE, META_PING, META_SLASH, META_STATUS, META_SUBSCRIBE, META_UNSUBSCRIBE, MIN_VERSION_FIELD, NONE_RESPONSE, RECONNECT_FIELD, RETRY_RESPONSE, SERVICE, SERVICE_SLASH, SUBSCRIPTION_FIELD, SUCCESSFUL_FIELD, SUPPORTED_CONNECTION_TYPES_FIELD, TIMESTAMP_FIELD, TRANSPORT_CALLBACK_POLL, TRANSPORT_FIELD, TRANSPORT_FLASH, TRANSPORT_IFRAME, TRANSPORT_LONG_POLL, VERSION_FIELD |
Constructor Summary | |
---|---|
ContinuationBayeux()
|
Method Summary | |
---|---|
void |
destroy()
|
protected void |
initialize(ServletContext context)
|
ClientImpl |
newRemoteClient()
|
void |
setMaxInterval(long ms)
|
Methods inherited from class org.mortbay.cometd.MessagePool |
---|
getBatchJSON, getJSON, getMsgJSON, newMessage, newMessage, parse, parse, parseTo, setBatchJSON, setJSON, setMsgJSON, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ContinuationBayeux()
Method Detail |
---|
public ClientImpl newRemoteClient()
newRemoteClient
in class AbstractBayeux
protected void initialize(ServletContext context)
initialize
in class AbstractBayeux
public void setMaxInterval(long ms)
setMaxInterval
in class AbstractBayeux
ms
- The maximum time in ms to wait between polls before timing out
a clientpublic void destroy()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |