Interface ClientSessionChannel

All Superinterfaces:
Channel
All Known Implementing Classes:
AbstractClientSession.AbstractSessionChannel, BayeuxClient.BayeuxClientChannel, LocalSessionImpl.LocalChannel

public interface ClientSessionChannel
extends Channel

A client side channel representation.

A ClientSessionChannel is scoped to a particular ClientSession that is obtained by a call to ClientSession.getChannel(String).

Typical usage examples are:

 clientSession.getChannel("/foo/bar").subscribe(mySubscriptionListener);
 clientSession.getChannel("/foo/bar").publish("Hello");
 clientSession.getChannel("/meta/*").addListener(myMetaChannelListener);