org.atmosphere.plugin.bayeux
Class AtmosphereContinuationBayeux

java.lang.Object
  extended by org.cometd.server.MessagePool
      extended by org.cometd.server.AbstractBayeux
          extended by org.cometd.server.continuation.ContinuationBayeux
              extended by org.atmosphere.plugin.bayeux.AtmosphereContinuationBayeux
All Implemented Interfaces:
org.cometd.Bayeux

public class AtmosphereContinuationBayeux
extends org.cometd.server.continuation.ContinuationBayeux

Extension of Bayeux that uses AtmosphereBayeuxClients.

Author:
gregw, Jeanfrancois Arcand

Nested Class Summary
 
Nested classes/interfaces inherited from class org.cometd.server.AbstractBayeux
org.cometd.server.AbstractBayeux.ConnectHandler, org.cometd.server.AbstractBayeux.DefaultPolicy, org.cometd.server.AbstractBayeux.DisconnectHandler, org.cometd.server.AbstractBayeux.Handler, org.cometd.server.AbstractBayeux.HandshakeHandler, org.cometd.server.AbstractBayeux.MetaPublishHandler, org.cometd.server.AbstractBayeux.PingHandler, org.cometd.server.AbstractBayeux.PublishHandler, org.cometd.server.AbstractBayeux.ServiceChannel, org.cometd.server.AbstractBayeux.SubscribeHandler, org.cometd.server.AbstractBayeux.UnsubscribeHandler
 
Field Summary
 
Fields inherited from class org.cometd.server.AbstractBayeux
_advice, _adviceVersion, _browser2client, _channelListeners, _clientListeners, _extensions, _handshakeAdvice, _initialized, _interval, _logLevel, _maxClientQueue, _maxInterval, _metaPublishHandler, _multiFrameAdvice, _multiFrameInterval, _publishHandler, _replyExt, _request, _requestAvailable, _securityPolicy, _transports, META_CLIENT_ID, META_CONNECT_ID, META_DISCONNECT_ID, META_HANDSHAKE_ID, META_ID, META_PING_ID, META_STATUS_ID, META_SUBSCRIBE_ID, META_UNSUBSCRIBE_ID
 
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, SUPP_CONNECTION_TYPE_FIELD, TIMESTAMP_FIELD, TRANSPORT_CALLBACK_POLL, TRANSPORT_FIELD, TRANSPORT_FLASH, TRANSPORT_IFRAME, TRANSPORT_LONG_POLL, VERSION_FIELD
 
Constructor Summary
AtmosphereContinuationBayeux()
           
 
Method Summary
 void cancelTimeout(org.eclipse.jetty.util.thread.Timeout.Task timeout)
           
 void destroy()
           
protected  void initialize(ServletContext context)
           
 org.cometd.server.ClientImpl newRemoteClient()
           
 void setMaxInterval(long ms)
           
 
Methods inherited from class org.cometd.server.AbstractBayeux
addChannel, addClient, addExtension, addListener, doPublish, extendRcv, extendRcvMeta, extendSendBayeux, extendSendClient, extendSendMeta, getAdvice, getChannel, getChannel, getChannel, getChannelCount, getChannelId, getChannels, getClient, getClientCount, getClientIDs, getClients, getCurrentRequest, getInterval, getLogLevel, getMaxClientQueue, getMaxInterval, getMultiFrameInterval, getSecurityPolicy, getTimeout, handle, hasChannel, hasClient, isDirectDeliver, isInitialized, isJSONCommented, isLogDebug, isLogInfo, isRequestAvailable, logDebug, logDebug, logInfo, logWarn, logWarn, newClient, newClientId, newTransport, removeChannel, removeChannel, removeClient, setAdvice, setDirectDeliver, setInterval, setJSONCommented, setLogLevel, setMaxClientQueue, setMultiFrameInterval, setRequestAvailable, setSecurityPolicy, setTimeout
 
Methods inherited from class org.cometd.server.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

AtmosphereContinuationBayeux

public AtmosphereContinuationBayeux()
Method Detail

newRemoteClient

public org.cometd.server.ClientImpl newRemoteClient()
Overrides:
newRemoteClient in class org.cometd.server.continuation.ContinuationBayeux

initialize

protected void initialize(ServletContext context)
Overrides:
initialize in class org.cometd.server.continuation.ContinuationBayeux

setMaxInterval

public void setMaxInterval(long ms)
Overrides:
setMaxInterval in class org.cometd.server.continuation.ContinuationBayeux

destroy

public void destroy()
Overrides:
destroy in class org.cometd.server.continuation.ContinuationBayeux

cancelTimeout

public void cancelTimeout(org.eclipse.jetty.util.thread.Timeout.Task timeout)
Overrides:
cancelTimeout in class org.cometd.server.continuation.ContinuationBayeux


Copyright © 2009 SUN Microsystems. All Rights Reserved.