Class BayeuxClient.BayeuxClientChannel
java.lang.Object
org.cometd.client.BayeuxClient.BayeuxClientChannel
- All Implemented Interfaces:
org.cometd.bayeux.Channel, org.cometd.bayeux.client.ClientSessionChannel, org.eclipse.jetty.util.component.Dumpable
- Enclosing class:
BayeuxClient
A channel scoped to this BayeuxClient.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.cometd.bayeux.client.ClientSessionChannel
org.cometd.bayeux.client.ClientSessionChannel.ClientSessionChannelListener, org.cometd.bayeux.client.ClientSessionChannel.MessageListenerNested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Dumpable
org.eclipse.jetty.util.component.Dumpable.DumpableContainer, org.eclipse.jetty.util.component.Dumpable.DumpAppendable -
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
LEGEND -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBayeuxClientChannel(org.cometd.bayeux.ChannelId channelId) -
Method Summary
Modifier and TypeMethodDescriptionorg.cometd.bayeux.client.ClientSessionprotected voidnonFirstSubscribe(org.cometd.bayeux.Message.Mutable message, org.cometd.bayeux.client.ClientSessionChannel.MessageListener listener, org.cometd.bayeux.client.ClientSession.MessageListener callback) protected voidnonLastUnSubscribe(org.cometd.bayeux.Message.Mutable message, org.cometd.bayeux.client.ClientSessionChannel.MessageListener listener, org.cometd.bayeux.client.ClientSession.MessageListener callback) Methods inherited from class 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
public org.cometd.bayeux.client.ClientSession getSession() -
nonFirstSubscribe
protected void nonFirstSubscribe(org.cometd.bayeux.Message.Mutable message, org.cometd.bayeux.client.ClientSessionChannel.MessageListener listener, org.cometd.bayeux.client.ClientSession.MessageListener callback) -
nonLastUnSubscribe
protected void nonLastUnSubscribe(org.cometd.bayeux.Message.Mutable message, org.cometd.bayeux.client.ClientSessionChannel.MessageListener listener, org.cometd.bayeux.client.ClientSession.MessageListener callback)
-