org.cometd.server
Class LocalSessionImpl.LocalChannel

java.lang.Object
  extended by org.cometd.common.AbstractClientSession.AbstractSessionChannel
      extended by org.cometd.server.LocalSessionImpl.LocalChannel
All Implemented Interfaces:
Channel, SessionChannel
Enclosing class:
LocalSessionImpl

protected class LocalSessionImpl.LocalChannel
extends AbstractClientSession.AbstractSessionChannel

A SessionChannel scoped to this LocalChannel


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.cometd.bayeux.client.SessionChannel
SessionChannel.MessageListener, SessionChannel.MetaChannelListener, SessionChannel.SessionChannelListener, SessionChannel.SubscriberListener
 
Field Summary
 
Fields inherited from class org.cometd.common.AbstractClientSession.AbstractSessionChannel
_handler, _id, _listeners, _subscriptions
 
Fields inherited from interface org.cometd.bayeux.Channel
META_CONNECT, META_DISCONNECT, META_HANDSHAKE, META_SUBSCRIBE, META_UNSUBSCRIBE
 
Method Summary
protected  void dump(java.lang.StringBuilder b, java.lang.String indent)
           
 ClientSession getSession()
           
 void publish(java.lang.Object data)
           
 void publish(java.lang.Object data, java.lang.Object id)
           
protected  void sendSubscribe()
           
protected  void sendUnSubscribe()
           
 java.lang.String toString()
           
 
Methods inherited from class org.cometd.common.AbstractClientSession.AbstractSessionChannel
addListener, getChannelId, getId, isDeepWild, isMeta, isService, isWild, removeListener, setHandler, subscribe, unsubscribe, unsubscribe
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getSession

public ClientSession getSession()

publish

public void publish(java.lang.Object data)

publish

public void publish(java.lang.Object data,
                    java.lang.Object id)

toString

public java.lang.String toString()
Overrides:
toString in class AbstractClientSession.AbstractSessionChannel

dump

protected void dump(java.lang.StringBuilder b,
                    java.lang.String indent)

sendSubscribe

protected void sendSubscribe()
Specified by:
sendSubscribe in class AbstractClientSession.AbstractSessionChannel

sendUnSubscribe

protected void sendUnSubscribe()
Specified by:
sendUnSubscribe in class AbstractClientSession.AbstractSessionChannel


Copyright © 2010 Dojo Foundation. All Rights Reserved.