Contents
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
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 BayeuxClient
BayeuxClient.BackOffStrategy, BayeuxClient.BayeuxClientChannel, BayeuxClient.Scheduler, BayeuxClient.StateNested classes/interfaces inherited from class AbstractClientSession
AbstractClientSession.AbstractSessionChannelNested classes/interfaces inherited from interface Bayeux
Bayeux.BayeuxListener, Bayeux.ValidatorNested classes/interfaces inherited from interface ClientSession
ClientSession.Extension, ClientSession.MessageListener -
Field Summary
Fields inherited from class BayeuxClient
BACKOFF_INCREMENT_OPTION, BAYEUX_VERSION, MAX_BACKOFF_OPTION -
Constructor Summary
ConstructorsConstructorDescriptionOortComet(Oort oort, String cometURL, ScheduledExecutorService scheduler, ClientTransport transport, ClientTransport... transports) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected voidtoString()protected voidunsubscribe(String channel) Methods inherited from class BayeuxClient
abort, addTransportListener, disconnect, disconnect, enqueueSend, getAllowedTransports, getBackOffStrategy, getCookie, getHttpCookieStore, 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, waitForMethods inherited from class 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, unregisterSubscriberMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface ClientSession
disconnect, handshake, handshake
-
Constructor Details
-
OortComet
public OortComet(Oort oort, String cometURL, ScheduledExecutorService scheduler, ClientTransport transport, ClientTransport... transports)
-
-
Method Details
-
subscribe
-
unsubscribe
-
clearSubscriptions
protected void clearSubscriptions() -
toString
- Overrides:
toStringin classBayeuxClient
-