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, ClientSessionChannel
Enclosing class:
LocalSessionImpl

protected class LocalSessionImpl.LocalChannel
extends AbstractClientSession.AbstractSessionChannel

A channel scoped to this local session


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.cometd.bayeux.client.ClientSessionChannel
ClientSessionChannel.ClientSessionChannelListener, ClientSessionChannel.MessageListener
 
Field Summary
 
Fields inherited from class org.cometd.common.AbstractClientSession.AbstractSessionChannel
logger
 
Fields inherited from interface org.cometd.bayeux.Channel
META, META_CONNECT, META_DISCONNECT, META_HANDSHAKE, META_SUBSCRIBE, META_UNSUBSCRIBE
 
Method Summary
 ClientSession getSession()
           
 void publish(Object data)
           
 void publish(Object data, String messageId)
           
protected  void sendSubscribe()
           
protected  void sendUnSubscribe()
           
 String toString()
           
 
Methods inherited from class org.cometd.common.AbstractClientSession.AbstractSessionChannel
addListener, dump, getAttribute, getAttributeNames, getChannelId, getId, isDeepWild, isMeta, isService, isWild, notifyMessageListeners, removeAttribute, removeListener, setAttribute, 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(Object data)

publish

public void publish(Object data,
                    String messageId)

toString

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

sendSubscribe

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

sendUnSubscribe

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


Copyright © 2008-2010 Dojo Foundation. All Rights Reserved.