Uses of Interface
org.cometd.bayeux.server.ServerSession
-
Uses of ServerSession in org.cometd.annotation
Methods in org.cometd.annotation that return ServerSession Modifier and Type Method Description ServerSession
RemoteCall.Caller. getServerSession()
-
Uses of ServerSession in org.cometd.bayeux.server
Methods in org.cometd.bayeux.server that return ServerSession Modifier and Type Method Description ServerSession
LocalSession. getServerSession()
ServerSession
BayeuxServer. getSession(String clientId)
Methods in org.cometd.bayeux.server that return types with arguments of type ServerSession Modifier and Type Method Description List<ServerSession>
BayeuxServer. getSessions()
Set<ServerSession>
ServerChannel. getSubscribers()
Methods in org.cometd.bayeux.server with parameters of type ServerSession Modifier and Type Method Description Authorizer.Result
Authorizer. authorize(Authorizer.Operation operation, ChannelId channel, ServerSession session, ServerMessage message)
Callback invoked to authorize the givenoperation
on the givenchannel
.boolean
SecurityPolicy. canCreate(BayeuxServer server, ServerSession session, String channelId, ServerMessage message)
Checks if a message should be allowed to create a new channel.boolean
SecurityPolicy. canHandshake(BayeuxServer server, ServerSession session, ServerMessage message)
Checks if a handshake message should be accepted.boolean
SecurityPolicy. canPublish(BayeuxServer server, ServerSession session, ServerChannel channel, ServerMessage message)
Checks if a client can publish a message to a channel.boolean
SecurityPolicy. canSubscribe(BayeuxServer server, ServerSession session, ServerChannel channel, ServerMessage message)
Checks if a subscribe message from a client is allowed to subscribe to a channel.void
ServerSession.DeQueueListener. deQueue(ServerSession session, Queue<ServerMessage> queue)
Callback invoked to notify that the queue of messages is about to be sent to the remote client.boolean
ServerChannel.MessageListener. onMessage(ServerSession from, ServerChannel channel, ServerMessage.Mutable message)
Callback invoked when a message is being published.boolean
ServerSession.MessageListener. onMessage(ServerSession session, ServerSession sender, ServerMessage message)
Callback invoked when a message is sent.void
ServerSession.QueueListener. queued(ServerSession sender, ServerMessage message)
Callback invoked when a message is queued in the session queue.boolean
ServerSession.MaxQueueListener. queueMaxed(ServerSession session, Queue<ServerMessage> queue, ServerSession sender, Message message)
Callback invoked to notify when the message queue is exceeding the value configured for the transport with the option "maxQueue".boolean
BayeuxServer.Extension.Adapter. rcv(ServerSession from, ServerMessage.Mutable message)
boolean
BayeuxServer.Extension. rcv(ServerSession from, ServerMessage.Mutable message)
Callback method invoked every time a normal message is incoming.boolean
ServerSession.Extension.Adapter. rcv(ServerSession session, ServerMessage.Mutable message)
boolean
ServerSession.Extension. rcv(ServerSession session, ServerMessage.Mutable message)
Callback method invoked every time a normal message is incoming.boolean
BayeuxServer.Extension.Adapter. rcvMeta(ServerSession from, ServerMessage.Mutable message)
boolean
BayeuxServer.Extension. rcvMeta(ServerSession from, ServerMessage.Mutable message)
Callback method invoked every time a meta message is incoming.boolean
ServerSession.Extension.Adapter. rcvMeta(ServerSession session, ServerMessage.Mutable message)
boolean
ServerSession.Extension. rcvMeta(ServerSession session, ServerMessage.Mutable message)
Callback method invoked every time a meta message is incoming.void
ServerSession.RemoveListener. removed(ServerSession session, boolean timeout)
Callback invoked when the session is removed.boolean
BayeuxServer. removeSession(ServerSession session)
Removes the givensession
from this BayeuxServer.boolean
BayeuxServer.Extension.Adapter. send(ServerSession from, ServerSession to, ServerMessage.Mutable message)
boolean
BayeuxServer.Extension. send(ServerSession from, ServerSession to, ServerMessage.Mutable message)
Callback method invoked every time a normal message is outgoing.ServerMessage
ServerSession.Extension.Adapter. send(ServerSession session, ServerMessage message)
ServerMessage
ServerSession.Extension. send(ServerSession session, ServerMessage message)
Callback method invoked every time a normal message is outgoing.boolean
BayeuxServer.Extension.Adapter. sendMeta(ServerSession to, ServerMessage.Mutable message)
boolean
BayeuxServer.Extension. sendMeta(ServerSession to, ServerMessage.Mutable message)
Callback method invoked every time a meta message is outgoing.boolean
ServerSession.Extension.Adapter. sendMeta(ServerSession session, ServerMessage.Mutable message)
boolean
ServerSession.Extension. sendMeta(ServerSession session, ServerMessage.Mutable message)
Callback method invoked every time a meta message is outgoing.void
BayeuxServer.SessionListener. sessionAdded(ServerSession session, ServerMessage message)
Callback invoked when aServerSession
has been added to aBayeuxServer
object.void
BayeuxServer.SessionListener. sessionRemoved(ServerSession session, boolean timedout)
Callback invoked when aServerSession
has been removed from aBayeuxServer
object.boolean
ServerChannel. subscribe(ServerSession session)
Subscribes the given session to this channel.void
BayeuxServer.SubscriptionListener. subscribed(ServerSession session, ServerChannel channel, ServerMessage message)
Callback invoked when aServerSession
subscribes to aServerChannel
.void
ServerChannel.SubscriptionListener. subscribed(ServerSession session, ServerChannel channel, ServerMessage message)
Callback invoked when the givenServerSession
subscribes to the givenServerChannel
.boolean
ServerChannel. unsubscribe(ServerSession session)
Unsubscribes the given session from this channel.void
BayeuxServer.SubscriptionListener. unsubscribed(ServerSession session, ServerChannel channel, ServerMessage message)
Callback invoked when aServerSession
unsubscribes from aServerChannel
.void
ServerChannel.SubscriptionListener. unsubscribed(ServerSession session, ServerChannel channel, ServerMessage message)
Callback invoked when the givenServerSession
unsubscribes from the givenServerChannel
. -
Uses of ServerSession in org.cometd.benchmark.server
Methods in org.cometd.benchmark.server with parameters of type ServerSession Modifier and Type Method Description void
CometDLoadServer.StatisticsService. exit(ServerSession remote, ServerMessage message)
void
CometDLoadServer.StatisticsService. startStatistics(ServerSession remote, ServerMessage message)
void
CometDLoadServer.StatisticsService. stopStatistics(ServerSession remote, ServerMessage message)
-
Uses of ServerSession in org.cometd.examples
Methods in org.cometd.examples with parameters of type ServerSession Modifier and Type Method Description void
ChatService. handleMembership(ServerSession client, ServerMessage message)
void
CometDDemoServlet.Monitor. monitorMeta(ServerSession session, ServerMessage message)
void
CometDDemoServlet.Monitor. monitorSubscribe(ServerSession session, ServerMessage message)
void
CometDDemoServlet.Monitor. monitorUnsubscribe(ServerSession session, ServerMessage message)
void
ChatService. privateChat(ServerSession client, ServerMessage message)
-
Uses of ServerSession in org.cometd.oort
Methods in org.cometd.oort that return ServerSession Modifier and Type Method Description ServerSession
OortService.ServerContext. getServerSession()
Methods in org.cometd.oort that return types with arguments of type ServerSession Modifier and Type Method Description Set<ServerSession>
Seti. disassociate(String userId)
Disassociates the given userId from all sessions.Methods in org.cometd.oort with parameters of type ServerSession Modifier and Type Method Description boolean
Seti. associate(String userId, ServerSession session)
Associates the given userId to the given session.boolean
Seti. disassociate(String userId, ServerSession session)
Disassociates the given userId from the given session.boolean
Oort. isOort(ServerSession session)
boolean
Oort.CloudListener. onMessage(ServerSession from, ServerChannel channel, ServerMessage.Mutable message)
boolean
OortService. onMessage(ServerSession from, ServerChannel channel, ServerMessage.Mutable message)
void
Seti.LocalLocation. removed(ServerSession session, boolean timeout)
Constructors in org.cometd.oort with parameters of type ServerSession Constructor Description LocalLocation(String userId, ServerSession session)
ServerContext(ServerSession session, ServerMessage message)
-
Uses of ServerSession in org.cometd.server
Classes in org.cometd.server that implement ServerSession Modifier and Type Class Description class
ServerSessionImpl
Methods in org.cometd.server that return ServerSession Modifier and Type Method Description ServerSession
AbstractService. getServerSession()
ServerSession
LocalSessionImpl. getServerSession()
ServerSession
BayeuxServerImpl. getSession(String clientId)
Methods in org.cometd.server that return types with arguments of type ServerSession Modifier and Type Method Description List<ServerSession>
BayeuxServerImpl. getSessions()
Set<ServerSession>
ServerChannelImpl. getSubscribers()
Set<ServerSession>
ServerChannelImpl. subscribers()
Methods in org.cometd.server with parameters of type ServerSession Modifier and Type Method Description boolean
DefaultSecurityPolicy. canCreate(BayeuxServer server, ServerSession session, String channelId, ServerMessage message)
boolean
DefaultSecurityPolicy. canHandshake(BayeuxServer server, ServerSession session, ServerMessage message)
boolean
DefaultSecurityPolicy. canPublish(BayeuxServer server, ServerSession session, ServerChannel channel, ServerMessage message)
boolean
DefaultSecurityPolicy. canSubscribe(BayeuxServer server, ServerSession session, ServerChannel channel, ServerMessage message)
protected void
ServerSessionImpl. doDeliver(ServerSession sender, ServerMessage.Mutable mutable)
protected void
AbstractService. doInvoke(Method method, ServerSession session, ServerMessage message)
protected void
AbstractService. exception(String method, ServerSession session, LocalSession local, ServerMessage message, Throwable x)
Handles exceptions during the invocation of a mapped method.protected boolean
BayeuxServerImpl. extendRecv(ServerSession from, ServerMessage.Mutable message)
protected boolean
BayeuxServerImpl. extendSend(ServerSession from, ServerSession to, ServerMessage.Mutable message)
boolean
BayeuxServerImpl. removeServerSession(ServerSession session, boolean timedOut)
boolean
BayeuxServerImpl. removeSession(ServerSession session)
protected void
AbstractService. send(ServerSession toClient, String onChannel, Object data)
Sends data to an individual remote client.boolean
ServerChannelImpl. subscribe(ServerSession session)
boolean
ServerChannelImpl. unsubscribe(ServerSession session)
-
Uses of ServerSession in org.cometd.server.authorizer
Methods in org.cometd.server.authorizer with parameters of type ServerSession Modifier and Type Method Description Authorizer.Result
GrantAuthorizer. authorize(Authorizer.Operation operation, ChannelId channel, ServerSession session, ServerMessage message)
-
Uses of ServerSession in org.cometd.server.ext
Methods in org.cometd.server.ext with parameters of type ServerSession Modifier and Type Method Description void
AcknowledgedMessagesSessionExtension. deQueue(ServerSession session, Queue<ServerMessage> queue)
protected void
ActivityExtension.SessionExtension. disconnect(ServerSession session)
protected ServerSession.Extension
ActivityExtension. newSessionExtension(ServerSession session, ServerMessage handshake)
Creates a newServerSession.Extension
that monitors the activity of the givenServerSession
void
AcknowledgedMessagesSessionExtension. queued(ServerSession sender, ServerMessage message)
boolean
AcknowledgedMessagesSessionExtension. rcv(ServerSession from, ServerMessage.Mutable message)
boolean
ActivityExtension.SessionExtension. rcv(ServerSession session, ServerMessage.Mutable message)
boolean
BinaryExtension. rcv(ServerSession from, ServerMessage.Mutable message)
boolean
BinarySessionExtension. rcv(ServerSession session, ServerMessage.Mutable message)
boolean
AcknowledgedMessagesExtension. rcvMeta(ServerSession remote, ServerMessage.Mutable message)
boolean
AcknowledgedMessagesSessionExtension. rcvMeta(ServerSession session, ServerMessage.Mutable message)
boolean
ActivityExtension. rcvMeta(ServerSession session, ServerMessage.Mutable message)
boolean
ActivityExtension.SessionExtension. rcvMeta(ServerSession session, ServerMessage.Mutable message)
boolean
TimesyncExtension. rcvMeta(ServerSession from, ServerMessage.Mutable message)
ServerMessage
AcknowledgedMessagesSessionExtension. send(ServerSession session, ServerMessage message)
ServerMessage
ActivityExtension.SessionExtension. send(ServerSession session, ServerMessage message)
boolean
BinaryExtension. send(ServerSession from, ServerSession to, ServerMessage.Mutable message)
ServerMessage
BinarySessionExtension. send(ServerSession session, ServerMessage message)
boolean
TimestampExtension. send(ServerSession from, ServerSession to, ServerMessage.Mutable message)
boolean
AcknowledgedMessagesSessionExtension. sendMeta(ServerSession to, ServerMessage.Mutable message)
boolean
ActivityExtension.SessionExtension. sendMeta(ServerSession session, ServerMessage.Mutable message)
boolean
TimestampExtension. sendMeta(ServerSession to, ServerMessage.Mutable message)
boolean
TimesyncExtension. sendMeta(ServerSession session, ServerMessage.Mutable message)
Constructors in org.cometd.server.ext with parameters of type ServerSession Constructor Description AcknowledgedMessagesSessionExtension(ServerSession session)
-
Uses of ServerSession in org.cometd.server.filter
Methods in org.cometd.server.filter with parameters of type ServerSession Modifier and Type Method Description Object
DataFilter. filter(ServerSession session, ServerChannel channel, Object data)
Modifies the given message data.Object
JSONDataFilter. filter(ServerSession session, ServerChannel channel, Object data)
protected Object
JSONDataFilter. filterArray(ServerSession session, ServerChannel channel, Object array)
protected Object
JSONDataFilter. filterBoolean(ServerSession session, ServerChannel channel, Boolean bool)
protected Object
JSONDataFilter. filterCollection(ServerSession session, ServerChannel channel, Collection<Object> collection)
protected Object
JSONDataFilter. filterList(ServerSession session, ServerChannel channel, List<Object> list)
protected Object
JSONDataFilter. filterMap(ServerSession session, ServerChannel channel, Map<String,Object> map)
protected Object
JSONDataFilter. filterNumber(ServerSession session, ServerChannel channel, Number number)
protected Object
JSONDataFilter. filterObject(ServerSession session, ServerChannel channel, Object data)
protected Object
JSONDataFilter. filterString(ServerSession session, ServerChannel channel, String string)
protected Object
NoMarkupFilter. filterString(ServerSession session, ServerChannel channel, String string)
protected Object
NoScriptsFilter. filterString(ServerSession session, ServerChannel channel, String string)
protected Object
RegexFilter. filterString(ServerSession session, ServerChannel channel, String string)
boolean
DataFilterMessageListener. onMessage(ServerSession from, ServerChannel channel, ServerMessage.Mutable message)
-
Uses of ServerSession in org.cometd.server.transport
Methods in org.cometd.server.transport with parameters of type ServerSession Modifier and Type Method Description protected void
AbstractHttpTransport. metaConnectResumed(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.AsyncContext asyncContext, ServerSession session)
protected void
AbstractHttpTransport. metaConnectSuspended(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.AsyncContext asyncContext, ServerSession session)
-
Uses of ServerSession in org.cometd.websocket.server
Methods in org.cometd.websocket.server with parameters of type ServerSession Modifier and Type Method Description protected void
JettyWebSocketTransport. send(org.eclipse.jetty.websocket.api.Session wsSession, ServerSession session, String data, org.eclipse.jetty.util.Callback callback)
protected void
WebSocketTransport. send(javax.websocket.Session wsSession, ServerSession session, String data, org.eclipse.jetty.util.Callback callback)
-
Uses of ServerSession in org.cometd.websocket.server.common
Methods in org.cometd.websocket.server.common with parameters of type ServerSession Modifier and Type Method Description protected void
AbstractWebSocketTransport. handleException(S wsSession, ServerSession session, Throwable exception)
protected void
AbstractWebSocketTransport. handleJSONParseException(S wsSession, ServerSession session, String json, Throwable exception)
protected abstract void
AbstractWebSocketTransport. send(S wsSession, ServerSession session, String data, org.eclipse.jetty.util.Callback callback)