org.cometd.bayeux.server
Interface LocalSession

All Superinterfaces:
ClientSession, Session

public interface LocalSession
extends ClientSession

A LocalSession is a ClientSession within the server. Unlike a ServerSession, a LocalSession may subscribe to channels rather than just listen to them.

A LocalSession has an associated ServerSession and both share the same ID, but have distinct sets of listeners and batching state etc.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.cometd.bayeux.client.ClientSession
ClientSession.Extension
 
Method Summary
 ServerSession getServerSession()
           
 
Methods inherited from interface org.cometd.bayeux.client.ClientSession
addExtension, getChannel, handshake, handshake
 
Methods inherited from interface org.cometd.bayeux.Session
batch, disconnect, endBatch, getAttribute, getAttributeNames, getId, isConnected, removeAttribute, setAttribute, startBatch
 

Method Detail

getServerSession

ServerSession getServerSession()


Copyright © 2010 Dojo Foundation. All Rights Reserved.