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 listener) |
protected void |
sendSubscribe() |
protected void |
sendUnSubscribe() |
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, throwIfReleased, unsubscribe, unsubscribeprotected LocalSessionImpl.LocalChannel(ChannelId id)
public ClientSession getSession()
public void publish(Object data, ClientSessionChannel.MessageListener listener)
protected void sendSubscribe()
sendSubscribe in class AbstractClientSession.AbstractSessionChannelprotected void sendUnSubscribe()
sendUnSubscribe in class AbstractClientSession.AbstractSessionChannelpublic String toString()
toString in class AbstractClientSession.AbstractSessionChannelCopyright © 2008-2013 Dojo Foundation. All Rights Reserved.