|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface LocalSession
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 |
|---|
ServerSession getServerSession()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||