Interface LocalSession

All Superinterfaces:
org.cometd.bayeux.client.ClientSession, org.cometd.bayeux.Session

public interface LocalSession extends org.cometd.bayeux.client.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.

  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.cometd.bayeux.client.ClientSession

    org.cometd.bayeux.client.ClientSession.Extension, org.cometd.bayeux.client.ClientSession.MessageListener
  • Method Summary

    Modifier and Type
    Method
    Description
     

    Methods inherited from interface org.cometd.bayeux.client.ClientSession

    addExtension, disconnect, disconnect, getChannel, getExtensions, handshake, handshake, handshake, remoteCall, removeExtension

    Methods inherited from interface org.cometd.bayeux.Session

    batch, endBatch, getAttribute, getAttributeNames, getId, isConnected, isHandshook, removeAttribute, setAttribute, startBatch