Class BayeuxClient.BayeuxClientChannel
java.lang.Object
org.cometd.common.AbstractClientSession.AbstractSessionChannel
org.cometd.client.BayeuxClient.BayeuxClientChannel
- All Implemented Interfaces:
Channel, ClientSessionChannel, org.eclipse.jetty.util.component.Dumpable
- Enclosing class:
BayeuxClient
protected class BayeuxClient.BayeuxClientChannel
extends AbstractClientSession.AbstractSessionChannel
A channel scoped to this BayeuxClient.
-
Nested Class Summary
Nested classes/interfaces inherited from interface ClientSessionChannel
ClientSessionChannel.ClientSessionChannelListener, ClientSessionChannel.MessageListenerNested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Dumpable
org.eclipse.jetty.util.component.Dumpable.DumpableContainer -
Field Summary
Fields inherited from interface Channel
META, META_CONNECT, META_DISCONNECT, META_HANDSHAKE, META_SUBSCRIBE, META_UNSUBSCRIBE, SERVICEFields inherited from interface org.eclipse.jetty.util.component.Dumpable
KEY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidnonFirstSubscribe(Message.Mutable message, ClientSessionChannel.MessageListener listener, ClientSession.MessageListener callback) protected voidnonLastUnSubscribe(Message.Mutable message, ClientSessionChannel.MessageListener listener, ClientSession.MessageListener callback) Methods inherited from class AbstractClientSession.AbstractSessionChannel
addListener, dump, dumpSelf, getAttribute, getAttributeNames, getChannelId, getId, getListeners, getSubscribers, isBroadcast, isDeepWild, isMeta, isReleased, isService, isWild, notifyMessageListeners, notifyOnMessage, publish, publish, release, removeAttribute, removeListener, resetSubscriptions, sendSubscribe, sendUnSubscribe, setAttribute, subscribe, throwIfReleased, toString, unsubscribe, unsubscribeMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface ClientSessionChannel
publish, subscribe, subscribe, unsubscribe, unsubscribeMethods inherited from interface org.eclipse.jetty.util.component.Dumpable
dump
-
Constructor Details
-
BayeuxClientChannel
-
-
Method Details
-
getSession
- Returns:
- the client session associated with this channel
-
nonFirstSubscribe
protected void nonFirstSubscribe(Message.Mutable message, ClientSessionChannel.MessageListener listener, ClientSession.MessageListener callback) - Overrides:
nonFirstSubscribein classAbstractClientSession.AbstractSessionChannel
-
nonLastUnSubscribe
protected void nonLastUnSubscribe(Message.Mutable message, ClientSessionChannel.MessageListener listener, ClientSession.MessageListener callback) - Overrides:
nonLastUnSubscribein classAbstractClientSession.AbstractSessionChannel
-