protected class BayeuxClient.BayeuxClientChannel extends AbstractClientSession.AbstractSessionChannel
A channel scoped to this BayeuxClient.
ClientSessionChannel.ClientSessionChannelListener, ClientSessionChannel.MessageListener
META, META_CONNECT, META_DISCONNECT, META_HANDSHAKE, META_SUBSCRIBE, META_UNSUBSCRIBE, SERVICE
Modifier | Constructor and Description |
---|---|
protected |
BayeuxClientChannel(ChannelId channelId) |
Modifier and Type | Method and Description |
---|---|
ClientSession |
getSession() |
protected void |
nonFirstSubscribe(Message.Mutable message,
ClientSessionChannel.MessageListener listener,
ClientSession.MessageListener callback) |
protected void |
nonLastUnSubscribe(Message.Mutable message,
ClientSessionChannel.MessageListener listener,
ClientSession.MessageListener callback) |
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, unsubscribe
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
publish, subscribe, subscribe, unsubscribe, unsubscribe
protected BayeuxClientChannel(ChannelId channelId)
public ClientSession getSession()
protected void nonFirstSubscribe(Message.Mutable message, ClientSessionChannel.MessageListener listener, ClientSession.MessageListener callback)
nonFirstSubscribe
in class AbstractClientSession.AbstractSessionChannel
protected void nonLastUnSubscribe(Message.Mutable message, ClientSessionChannel.MessageListener listener, ClientSession.MessageListener callback)
nonLastUnSubscribe
in class AbstractClientSession.AbstractSessionChannel
Copyright © 2008–2024 The CometD Project. All rights reserved.