protected class LocalSessionImpl.LocalChannel extends AbstractClientSession.AbstractSessionChannel
A channel scoped to this local session.
ClientSessionChannel.ClientSessionChannelListener, ClientSessionChannel.MessageListenerMETA, META_CONNECT, META_DISCONNECT, META_HANDSHAKE, META_SUBSCRIBE, META_UNSUBSCRIBE| Modifier | Constructor and Description |
|---|---|
protected |
LocalSessionImpl.LocalChannel(ChannelId id) |
| Modifier and Type | Method and Description |
|---|---|
ClientSession |
getSession() |
void |
publish(Object data,
ClientSessionChannel.MessageListener callback) |
protected void |
sendSubscribe(ClientSessionChannel.MessageListener listener,
ClientSessionChannel.MessageListener callback) |
protected void |
sendUnSubscribe(ClientSessionChannel.MessageListener callback) |
String |
toString() |
addListener, dump, getAttribute, getAttributeNames, getChannelId, getId, getListeners, getSubscribers, isBroadcast, isDeepWild, isMeta, isReleased, isService, isWild, notifyMessageListeners, notifyOnMessage, publish, release, removeAttribute, removeListener, resetSubscriptions, setAttribute, subscribe, subscribe, throwIfReleased, unsubscribe, unsubscribe, unsubscribeprotected LocalSessionImpl.LocalChannel(ChannelId id)
public ClientSession getSession()
public void publish(Object data, ClientSessionChannel.MessageListener callback)
protected void sendSubscribe(ClientSessionChannel.MessageListener listener, ClientSessionChannel.MessageListener callback)
sendSubscribe in class AbstractClientSession.AbstractSessionChannelprotected void sendUnSubscribe(ClientSessionChannel.MessageListener callback)
sendUnSubscribe in class AbstractClientSession.AbstractSessionChannelpublic String toString()
toString in class AbstractClientSession.AbstractSessionChannelCopyright © 2008–2014 Dojo Foundation. All rights reserved.