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 that represents a remote client on the server, a LocalSession is a new client, that is not remote and hence local to the server, that lives in the server.

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

Version:
$Revision: 1483 $ $Date: 2009-03-04 14:56:47 +0100 (Wed, 04 Mar 2009) $

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, removeExtension
 
Methods inherited from interface org.cometd.bayeux.Session
batch, disconnect, endBatch, getAttribute, getAttributeNames, getId, isConnected, isHandshook, removeAttribute, setAttribute, startBatch
 

Method Detail

getServerSession

ServerSession getServerSession()
Returns:
the associated ServerSession


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