Uses of Interface
org.cometd.bayeux.Session
-
Packages that use Session Package Description org.cometd.bayeux.client org.cometd.bayeux.server -
-
Uses of Session in org.cometd.bayeux.client
Subinterfaces of Session in org.cometd.bayeux.client Modifier and Type Interface Description interface
ClientSession
This interface represents the client side Bayeux session. -
Uses of Session in org.cometd.bayeux.server
Subinterfaces of Session in org.cometd.bayeux.server Modifier and Type Interface Description interface
LocalSession
ALocalSession
is aClientSession
within the server.interface
ServerSession
Objects implementing this interface are the server-side representation of remote Bayeux clients.Methods in org.cometd.bayeux.server with parameters of type Session Modifier and Type Method Description default void
ServerSession. deliver(Session sender, java.lang.String channel, java.lang.Object data)
Deprecated.void
ServerSession. deliver(Session sender, java.lang.String channel, java.lang.Object data, Promise<java.lang.Boolean> promise)
Delivers the given information to this session.default void
ServerSession. deliver(Session sender, ServerMessage.Mutable message)
Deprecated.void
ServerSession. deliver(Session sender, ServerMessage.Mutable message, Promise<java.lang.Boolean> promise)
Delivers the given message to this session.default void
ServerChannel. publish(Session from, java.lang.Object data)
Deprecated.useServerChannel.publish(Session, Object, Promise)
insteadvoid
ServerChannel. publish(Session from, java.lang.Object data, Promise<java.lang.Boolean> promise)
Publishes the given information to this channel.default void
ServerChannel. publish(Session from, ServerMessage.Mutable message)
Deprecated.void
ServerChannel. publish(Session from, ServerMessage.Mutable message, Promise<java.lang.Boolean> promise)
Publishes the given message to this channel, delivering the message to all theServerSession
s subscribed to this channel.
-