Package org.cometd.client
Class BayeuxClient.BayeuxClientChannel
java.lang.Object
org.cometd.common.AbstractClientSession.AbstractSessionChannel
org.cometd.client.BayeuxClient.BayeuxClientChannel
- All Implemented Interfaces:
org.cometd.bayeux.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.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 org.cometd.bayeux.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
ConstructorsModifierConstructorDescriptionprotectedBayeuxClientChannel(org.cometd.bayeux.ChannelId channelId) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidnonFirstSubscribe(org.cometd.bayeux.Message.Mutable message, ClientSessionChannel.MessageListener listener, ClientSession.MessageListener callback) protected voidnonLastUnSubscribe(org.cometd.bayeux.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, sendUnSubscribe, setAttribute, subscribe, throwIfReleased, toString, unsubscribe, unsubscribeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.cometd.bayeux.client.ClientSessionChannel
publish, subscribe, subscribe, unsubscribe, unsubscribeMethods inherited from interface org.eclipse.jetty.util.component.Dumpable
dump
-
Constructor Details
-
BayeuxClientChannel
protected BayeuxClientChannel(org.cometd.bayeux.ChannelId channelId)
-
-
Method Details
-
getSession
-
nonFirstSubscribe
protected void nonFirstSubscribe(org.cometd.bayeux.Message.Mutable message, ClientSessionChannel.MessageListener listener, ClientSession.MessageListener callback) - Overrides:
nonFirstSubscribein classAbstractClientSession.AbstractSessionChannel
-
nonLastUnSubscribe
protected void nonLastUnSubscribe(org.cometd.bayeux.Message.Mutable message, ClientSessionChannel.MessageListener listener, ClientSession.MessageListener callback) - Overrides:
nonLastUnSubscribein classAbstractClientSession.AbstractSessionChannel
-