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.
ClientSession.Extension, ClientSession.MessageListener
Modifier and Type | Method and Description |
---|---|
ServerSession |
getServerSession() |
addExtension, disconnect, disconnect, getChannel, getExtensions, handshake, handshake, handshake, remoteCall, removeExtension
batch, endBatch, getAttribute, getAttributeNames, getId, isConnected, isHandshook, removeAttribute, setAttribute, startBatch
ServerSession getServerSession()
ServerSession
Copyright © 2008–2024 The CometD Project. All rights reserved.