Uses of Interface
org.cometd.bayeux.client.ClientSessionChannel.MessageListener
-
Uses of ClientSessionChannel.MessageListener in org.cometd.bayeux.client
Modifier and TypeMethodDescriptiondefault boolean
ClientSessionChannel.subscribe
(ClientSessionChannel.MessageListener listener) Equivalent tosubscribe(listener, null)
.default boolean
ClientSessionChannel.subscribe
(ClientSessionChannel.MessageListener listener, ClientSession.MessageListener callback) Equivalent tosubscribe(null, listener, callback)
.boolean
ClientSessionChannel.subscribe
(Message.Mutable message, ClientSessionChannel.MessageListener listener, ClientSession.MessageListener callback) Subscribes the givenlistener
to receive messages sent to this channel.default boolean
ClientSessionChannel.unsubscribe
(ClientSessionChannel.MessageListener listener) Equivalent tounsubscribe(listener, null)
.default boolean
ClientSessionChannel.unsubscribe
(ClientSessionChannel.MessageListener listener, ClientSession.MessageListener callback) Equivalent tounsubscribe(null, listener, callback)
.boolean
ClientSessionChannel.unsubscribe
(Message.Mutable message, ClientSessionChannel.MessageListener listener, ClientSession.MessageListener callback) Unsubscribes the givenlistener
from receiving messages sent to this channel. -
Uses of ClientSessionChannel.MessageListener in org.cometd.client
Modifier and TypeMethodDescriptionprotected void
BayeuxClient.BayeuxClientChannel.nonFirstSubscribe
(Message.Mutable message, ClientSessionChannel.MessageListener listener, ClientSession.MessageListener callback) protected void
BayeuxClient.BayeuxClientChannel.nonLastUnSubscribe
(Message.Mutable message, ClientSessionChannel.MessageListener listener, ClientSession.MessageListener callback) -
Uses of ClientSessionChannel.MessageListener in org.cometd.common
Modifier and TypeMethodDescriptionprotected ClientSessionChannel.MessageListener
AbstractClientSession.unregisterSubscriber
(String messageId) Modifier and TypeMethodDescriptionprotected void
AbstractClientSession.AbstractSessionChannel.nonFirstSubscribe
(Message.Mutable message, ClientSessionChannel.MessageListener listener, ClientSession.MessageListener callback) protected void
AbstractClientSession.AbstractSessionChannel.nonLastUnSubscribe
(Message.Mutable message, ClientSessionChannel.MessageListener listener, ClientSession.MessageListener callback) protected void
AbstractClientSession.AbstractSessionChannel.notifyOnMessage
(ClientSessionChannel.MessageListener listener, Message message) protected void
AbstractClientSession.registerSubscriber
(String messageId, ClientSessionChannel.MessageListener subscriber) protected void
AbstractClientSession.AbstractSessionChannel.sendSubscribe
(Message.Mutable message, ClientSessionChannel.MessageListener listener, ClientSession.MessageListener callback) protected void
AbstractClientSession.AbstractSessionChannel.sendUnSubscribe
(Message.Mutable message, ClientSessionChannel.MessageListener listener, ClientSession.MessageListener callback) boolean
AbstractClientSession.AbstractSessionChannel.subscribe
(Message.Mutable message, ClientSessionChannel.MessageListener listener, ClientSession.MessageListener callback) boolean
AbstractClientSession.AbstractSessionChannel.unsubscribe
(Message.Mutable message, ClientSessionChannel.MessageListener listener, ClientSession.MessageListener callback)