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.BayeuxClientChannel, BayeuxClient.StateNested classes/interfaces inherited from class org.cometd.common.AbstractClientSession
AbstractClientSession.AbstractSessionChannelNested 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, logger, MAX_BACKOFF_OPTION -
Constructor Summary
Constructors Constructor Description OortComet(Oort oort, String cometURL, ScheduledExecutorService scheduler, ClientTransport transport, ClientTransport... transports) -
Method Summary
Modifier and Type Method Description protected voidclearSubscriptions()protected voidsubscribe(Set<String> observedChannels)StringtoString()protected voidunsubscribe(String channel)Methods inherited from class org.cometd.client.BayeuxClient
abort, disconnect, disconnect, disconnect, enqueueSend, getAllowedTransports, getBackoff, getBackoffIncrement, getCookie, getCookieStore, getId, getKnownTransportNames, getMaxBackoff, getOption, getOptionNames, getOptions, getState, getTransport, getTransport, getURL, handshake, handshake, handshake, handshake, handshake, handshake, initialize, isConnected, isDisconnected, isHandshook, messagesFailure, newChannel, newChannelId, onFailure, onMessages, onSending, onTransportFailure, onTransportFailure, processConnect, processDisconnect, processHandshake, processMessage, putCookie, scheduleConnect, scheduleHandshake, send, sendBatch, sendConnect, sendHandshake, sendMessages, setOption, terminate, waitForMethods inherited from class org.cometd.common.AbstractClientSession
addExtension, batch, dump, dump, endBatch, extendRcv, extendSend, getAttribute, getAttributeNames, getChannel, getChannel, getChannels, getExtensions, isBatching, newMessage, newMessageId, notifyListener, notifyListeners, receive, registerCallback, registerSubscriber, remoteCall, removeAttribute, removeExtension, resetSubscriptions, setAttribute, startBatch, unregisterCallback, unregisterSubscriber
-
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
-