Package org.cometd.client
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
-
-
Field Summary
-
Fields inherited from interface org.cometd.bayeux.Channel
META, META_CONNECT, META_DISCONNECT, META_HANDSHAKE, META_SUBSCRIBE, META_UNSUBSCRIBE, SERVICE
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
BayeuxClientChannel(ChannelId channelId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClientSession
getSession()
-
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, publish, publish, subscribe, subscribe, subscribe, unsubscribe, unsubscribe, unsubscribe
-
-
-
-
Constructor Detail
-
BayeuxClientChannel
protected BayeuxClientChannel(ChannelId channelId)
-
-
Method Detail
-
getSession
public ClientSession getSession()
- Returns:
- the client session associated with this channel
-
-