org.cometd.client
Class BayeuxClient.BayeuxClientChannel

java.lang.Object
  extended by org.cometd.common.AbstractClientSession.AbstractSessionChannel
      extended by org.cometd.client.BayeuxClient.BayeuxClientChannel
All Implemented Interfaces:
Channel, ClientSessionChannel
Enclosing class:
BayeuxClient

protected class BayeuxClient.BayeuxClientChannel
extends AbstractClientSession.AbstractSessionChannel


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
 
Constructor Summary
protected BayeuxClient.BayeuxClientChannel(ChannelId channelId)
           
 
Method Summary
 ClientSession getSession()
           
 void publish(Object data)
           
 void publish(Object data, String messageId)
           
protected  void sendSubscribe()
           
protected  void sendUnSubscribe()
           
 
Methods inherited from class org.cometd.common.AbstractClientSession.AbstractSessionChannel
addListener, dump, getAttribute, getAttributeNames, getChannelId, getId, isDeepWild, isMeta, isService, isWild, notifyMessageListeners, removeAttribute, removeListener, resetSubscriptions, setAttribute, subscribe, toString, unsubscribe, unsubscribe
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BayeuxClient.BayeuxClientChannel

protected BayeuxClient.BayeuxClientChannel(ChannelId channelId)
Method Detail

getSession

public ClientSession getSession()

sendSubscribe

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

sendUnSubscribe

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

publish

public void publish(Object data)

publish

public void publish(Object data,
                    String messageId)


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