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 org.cometd.bayeux.client.ClientSessionChannel
ClientSessionChannel.ClientSessionChannelListener, ClientSessionChannel.MessageListener
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Dumpable
org.eclipse.jetty.util.component.Dumpable.DumpableContainer
-
Field Summary
Fields inherited from interface org.cometd.bayeux.Channel
META, META_CONNECT, META_DISCONNECT, META_HANDSHAKE, META_SUBSCRIBE, META_UNSUBSCRIBE, SERVICE
Fields inherited from interface org.eclipse.jetty.util.component.Dumpable
KEY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
nonFirstSubscribe
(Message.Mutable message, ClientSessionChannel.MessageListener listener, ClientSession.MessageListener callback) protected void
nonLastUnSubscribe
(Message.Mutable message, ClientSessionChannel.MessageListener listener, ClientSession.MessageListener callback) Methods inherited from class org.cometd.common.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, unsubscribe
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.ClientSessionChannel
publish, subscribe, subscribe, unsubscribe, unsubscribe
Methods 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:
nonFirstSubscribe
in classAbstractClientSession.AbstractSessionChannel
-
nonLastUnSubscribe
protected void nonLastUnSubscribe(Message.Mutable message, ClientSessionChannel.MessageListener listener, ClientSession.MessageListener callback) - Overrides:
nonLastUnSubscribe
in classAbstractClientSession.AbstractSessionChannel
-