Package org.cometd.oort
Class OortComet
- java.lang.Object
-
- org.cometd.common.AbstractClientSession
-
- org.cometd.client.BayeuxClient
-
- org.cometd.oort.OortComet
-
- All Implemented Interfaces:
Bayeux
,ClientSession
,Session
,org.eclipse.jetty.util.component.Dumpable
public class OortComet extends BayeuxClient
The Oort comet client connects a local Oort comet server to a remote Oort comet server.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.cometd.client.BayeuxClient
BayeuxClient.BackOffStrategy, BayeuxClient.BayeuxClientChannel, BayeuxClient.Scheduler, BayeuxClient.State
-
Nested classes/interfaces inherited from class org.cometd.common.AbstractClientSession
AbstractClientSession.AbstractSessionChannel
-
Nested classes/interfaces inherited from interface org.cometd.bayeux.Bayeux
Bayeux.BayeuxListener, Bayeux.Validator
-
Nested classes/interfaces inherited from interface org.cometd.bayeux.client.ClientSession
ClientSession.Extension, ClientSession.MessageListener
-
-
Field Summary
-
Fields inherited from class org.cometd.client.BayeuxClient
BACKOFF_INCREMENT_OPTION, BAYEUX_VERSION, MAX_BACKOFF_OPTION
-
-
Constructor Summary
Constructors Constructor Description OortComet(Oort oort, java.lang.String cometURL, java.util.concurrent.ScheduledExecutorService scheduler, ClientTransport transport, ClientTransport... transports)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
clearSubscriptions()
protected void
subscribe(java.util.Set<java.lang.String> observedChannels)
java.lang.String
toString()
protected void
unsubscribe(java.lang.String channel)
-
Methods inherited from class org.cometd.client.BayeuxClient
abort, addTransportListener, disconnect, disconnect, enqueueSend, getAllowedTransports, getBackOffStrategy, getCookie, getCookieStore, getId, getKnownTransportNames, getOption, getOptionNames, getOptions, getState, getTransport, getTransport, getURL, handshake, handshake, handshake, handshake, initialize, isConnected, isDisconnected, isHandshook, messagesFailure, newChannel, newChannelId, onTransportFailure, onTransportFailure, processConnect, processDisconnect, processHandshake, processMessage, putCookie, removeTransportListener, scheduleConnect, scheduleHandshake, send, sendBatch, sendConnect, sendHandshake, sendMessages, setBackOffStrategy, setOption, terminate, waitFor
-
Methods inherited from class org.cometd.common.AbstractClientSession
addExtension, batch, dump, endBatch, extendIncoming, extendOutgoing, getAttribute, getAttributeNames, getChannel, getChannel, getChannels, getExtensions, isBatching, newMessage, newMessageId, notifyCallback, notifyListeners, receive, registerCallback, registerSubscriber, remoteCall, removeAttribute, removeExtension, resetSubscriptions, setAttribute, startBatch, unregisterCallback, unregisterSubscriber
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.cometd.bayeux.client.ClientSession
disconnect, handshake, handshake
-
-
-
-
Constructor Detail
-
OortComet
public OortComet(Oort oort, java.lang.String cometURL, java.util.concurrent.ScheduledExecutorService scheduler, ClientTransport transport, ClientTransport... transports)
-
-
Method Detail
-
subscribe
protected void subscribe(java.util.Set<java.lang.String> observedChannels)
-
unsubscribe
protected void unsubscribe(java.lang.String channel)
-
clearSubscriptions
protected void clearSubscriptions()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classBayeuxClient
-
-