Package org.cometd.server
Class LocalSessionImpl.LocalChannel
- java.lang.Object
-
- org.cometd.common.AbstractClientSession.AbstractSessionChannel
-
- org.cometd.server.LocalSessionImpl.LocalChannel
-
- All Implemented Interfaces:
Channel
,ClientSessionChannel
,org.eclipse.jetty.util.component.Dumpable
- Enclosing class:
- LocalSessionImpl
protected class LocalSessionImpl.LocalChannel extends AbstractClientSession.AbstractSessionChannel
A channel scoped to this LocalSession.
-
-
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
LocalChannel(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, nonFirstSubscribe, nonLastUnSubscribe, notifyMessageListeners, notifyOnMessage, publish, publish, release, removeAttribute, removeListener, resetSubscriptions, sendSubscribe, sendUnSubscribe, 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
-
-
-
-
Constructor Detail
-
LocalChannel
protected LocalChannel(ChannelId channelId)
-
-
Method Detail
-
getSession
public ClientSession getSession()
- Returns:
- the client session associated with this channel
-
-