Uses of Interface
org.cometd.bayeux.server.ServerMessage.Mutable
Package
Description
-
Uses of ServerMessage.Mutable in org.cometd.bayeux.server
Modifier and TypeMethodDescriptionvoid
ServerSession.deliver
(Session sender, ServerMessage.Mutable message, Promise<Boolean> promise) Delivers the given message to this session.default void
BayeuxServer.Extension.incoming
(ServerSession from, ServerMessage.Mutable message, Promise<Boolean> promise) Callback method invoked every time a message is incoming.default void
ServerSession.Extension.incoming
(ServerSession session, ServerMessage.Mutable message, Promise<Boolean> promise) Callback method invoked every time a message is incoming.default boolean
ServerChannel.MessageListener.onMessage
(ServerSession sender, ServerChannel channel, ServerMessage.Mutable message) default void
ServerChannel.MessageListener.onMessage
(ServerSession sender, ServerChannel channel, ServerMessage.Mutable message, Promise<Boolean> promise) Callback invoked when a message is being published.default void
BayeuxServer.Extension.outgoing
(ServerSession from, ServerSession to, ServerMessage.Mutable message, Promise<Boolean> promise) Callback method invoked every time a message is outgoing.default void
ServerSession.Extension.outgoing
(ServerSession sender, ServerSession session, ServerMessage.Mutable message, Promise<ServerMessage.Mutable> promise) Callback method invoked every time a message is outgoing.void
ServerChannel.publish
(Session from, ServerMessage.Mutable message, Promise<Boolean> promise) Publishes the given message to this channel, delivering the message to all theServerSession
s subscribed to this channel.default boolean
BayeuxServer.Extension.rcv
(ServerSession from, ServerMessage.Mutable message) Blocking version ofBayeuxServer.Extension.incoming(ServerSession, ServerMessage.Mutable, Promise)
for non-meta messages.default boolean
ServerSession.Extension.rcv
(ServerSession session, ServerMessage.Mutable message) Blocking version ofServerSession.Extension.incoming(ServerSession, ServerMessage.Mutable, Promise)
for non-meta messages.default boolean
BayeuxServer.Extension.rcvMeta
(ServerSession from, ServerMessage.Mutable message) Blocking version ofBayeuxServer.Extension.incoming(ServerSession, ServerMessage.Mutable, Promise)
for meta messages.default boolean
ServerSession.Extension.rcvMeta
(ServerSession session, ServerMessage.Mutable message) Blocking version ofServerSession.Extension.incoming(ServerSession, ServerMessage.Mutable, Promise)
for meta messages.default boolean
BayeuxServer.Extension.send
(ServerSession from, ServerSession to, ServerMessage.Mutable message) Blocking version ofBayeuxServer.Extension.outgoing(ServerSession, ServerSession, ServerMessage.Mutable, Promise)
for non-meta messages.default boolean
BayeuxServer.Extension.sendMeta
(ServerSession to, ServerMessage.Mutable message) Blocking version ofBayeuxServer.Extension.outgoing(ServerSession, ServerSession, ServerMessage.Mutable, Promise)
for meta messages.default boolean
ServerSession.Extension.sendMeta
(ServerSession sender, ServerSession session, ServerMessage.Mutable message) Blocking version ofServerSession.Extension.outgoing(ServerSession, ServerSession, ServerMessage.Mutable, Promise)
for meta messages.void
ServerMessage.Mutable.setAssociated
(ServerMessage.Mutable message) Modifier and TypeMethodDescriptiondefault void
ServerSession.DeQueueListener.deQueue
(ServerSession session, Queue<ServerMessage> queue, List<ServerMessage.Mutable> replies) Callback invoked to notify that the queue of messages and the message replies are about to be sent to the remote client.default void
ServerSession.Extension.outgoing
(ServerSession sender, ServerSession session, ServerMessage.Mutable message, Promise<ServerMessage.Mutable> promise) Callback method invoked every time a message is outgoing. -
Uses of ServerMessage.Mutable in org.cometd.oort
Modifier and TypeMethodDescriptionboolean
Oort.CloudListener.onMessage
(ServerSession from, ServerChannel channel, ServerMessage.Mutable message) boolean
OortService.onMessage
(ServerSession from, ServerChannel channel, ServerMessage.Mutable message) -
Uses of ServerMessage.Mutable in org.cometd.server
Modifier and TypeInterfaceDescriptioninterface
Server specificJSONContext
that binds toServerMessage.Mutable
.Modifier and TypeMethodDescriptionprotected ServerMessage.Mutable
BayeuxServerImpl.createReply
(ServerMessage.Mutable message) ServerMessageImpl.getAssociated()
default ServerMessage.Mutable
AbstractServerTransport.Scheduler.getMessage()
BayeuxServerImpl.newMessage()
BayeuxServerImpl.newMessage
(ServerMessage original) protected ServerMessage.Mutable
JettyJSONContextServer.newMessage()
protected ServerMessage.Mutable
LocalSessionImpl.newMessage()
Modifier and TypeMethodDescriptionprotected ServerMessage.Mutable
BayeuxServerImpl.createReply
(ServerMessage.Mutable message) void
ServerSessionImpl.deliver
(Session sender, ServerMessage.Mutable message, Promise<Boolean> promise) protected void
ServerSessionImpl.deliver1
(ServerSession sender, ServerMessage.Mutable mutable, Promise<Boolean> promise) protected void
BayeuxServerImpl.error
(ServerMessage.Mutable reply, String error) protected void
ServerSessionImpl.extendIncoming
(ServerMessage.Mutable message, Promise<Boolean> promise) protected void
BayeuxServerImpl.extendOutgoing
(ServerSession sender, ServerSession session, ServerMessage.Mutable message, Promise<Boolean> promise) protected void
ServerSessionImpl.extendOutgoing
(ServerSession sender, ServerMessage.Mutable message, Promise<ServerMessage.Mutable> promise) void
BayeuxServerImpl.extendReply
(ServerSessionImpl sender, ServerSessionImpl session, ServerMessage.Mutable reply, Promise<ServerMessage.Mutable> promise) void
BayeuxServerImpl.freeze
(ServerMessage.Mutable mutable) JacksonJSONContextServer.generate
(ServerMessage.Mutable message) JettyJSONContextServer.generate
(ServerMessage.Mutable message) default String
JSONContextServer.generate
(ServerMessage.Mutable message) void
BayeuxServerImpl.handle
(ServerSessionImpl session, ServerMessage.Mutable message, Promise<ServerMessage.Mutable> promise) boolean
ServerSessionImpl.handshake
(ServerMessage.Mutable message) void
AbstractServerTransport.processReply
(ServerSessionImpl session, ServerMessage.Mutable reply, Promise<ServerMessage.Mutable> promise) protected void
BayeuxServerImpl.publish
(ServerSessionImpl session, ServerChannelImpl channel, ServerMessage.Mutable message, boolean receiving, Promise<Boolean> promise) void
ServerChannelImpl.publish
(Session from, ServerMessage.Mutable mutable, Promise<Boolean> promise) protected void
LocalSessionImpl.send
(ServerSessionImpl session, ServerMessage.Mutable message) Enqueues or sends a message to the server.void
ServerMessageImpl.setAssociated
(ServerMessage.Mutable associated) protected void
BayeuxServerImpl.unknownSession
(ServerMessage.Mutable reply) protected String
BayeuxServerImpl.validateMessage
(ServerMessage.Mutable message) Modifier and TypeMethodDescriptionprotected void
ServerSessionImpl.extendOutgoing
(ServerSession sender, ServerMessage.Mutable message, Promise<ServerMessage.Mutable> promise) void
BayeuxServerImpl.extendReply
(ServerSessionImpl sender, ServerSessionImpl session, ServerMessage.Mutable reply, Promise<ServerMessage.Mutable> promise) void
BayeuxServerImpl.handle
(ServerSessionImpl session, ServerMessage.Mutable message, Promise<ServerMessage.Mutable> promise) void
AbstractServerTransport.processReply
(ServerSessionImpl session, ServerMessage.Mutable reply, Promise<ServerMessage.Mutable> promise) ServerSessionImpl.takeQueue
(List<ServerMessage.Mutable> replies) -
Uses of ServerMessage.Mutable in org.cometd.server.ext
Modifier and TypeMethodDescriptionboolean
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) boolean
BinaryExtension.send
(ServerSession from, ServerSession to, ServerMessage.Mutable message) boolean
TimestampExtension.send
(ServerSession from, ServerSession to, ServerMessage.Mutable message) boolean
AcknowledgedMessagesSessionExtension.sendMeta
(ServerSession sender, ServerSession to, ServerMessage.Mutable message) boolean
ActivityExtension.SessionExtension.sendMeta
(ServerSession sender, ServerSession session, ServerMessage.Mutable message) boolean
TimestampExtension.sendMeta
(ServerSession to, ServerMessage.Mutable message) boolean
TimesyncExtension.sendMeta
(ServerSession session, ServerMessage.Mutable message) Modifier and TypeMethodDescriptionvoid
AcknowledgedMessagesSessionExtension.deQueue
(ServerSession session, Queue<ServerMessage> queue, List<ServerMessage.Mutable> replies) -
Uses of ServerMessage.Mutable in org.cometd.server.filter
Modifier and TypeMethodDescriptionboolean
DataFilterMessageListener.onMessage
(ServerSession from, ServerChannel channel, ServerMessage.Mutable message) -
Uses of ServerMessage.Mutable in org.cometd.server.http
Modifier and TypeMethodDescriptionprotected ServerSessionImpl
AbstractHttpTransport.findSession
(Collection<ServerSessionImpl> sessions, ServerMessage.Mutable message) protected void
AbstractHttpTransport.handleMessage
(TransportContext context, ServerMessage.Mutable message, Promise<ServerMessage.Mutable> promise) protected AbstractHttpTransport.HttpScheduler
AbstractHttpTransport.newHttpScheduler
(TransportContext context, Promise<Void> promise, ServerMessage.Mutable reply, long timeout) protected void
AbstractHttpTransport.resume
(TransportContext context, ServerMessage.Mutable message, Promise<Void> promise) protected AbstractHttpTransport.HttpScheduler
AbstractHttpTransport.suspend
(TransportContext context, Promise<Void> promise, ServerMessage.Mutable message, long timeout) Modifier and TypeMethodDescriptionprotected void
AbstractHttpTransport.handleMessage
(TransportContext context, ServerMessage.Mutable message, Promise<ServerMessage.Mutable> promise) void
TransportContext.messages
(List<ServerMessage.Mutable> messages) protected void
AbstractHttpTransport.processMessages
(TransportContext context, List<ServerMessage.Mutable> messages) ModifierConstructorDescriptionprotected
AbstractHttpScheduler
(AbstractHttpTransport transport, TransportContext context, Promise<Void> promise, ServerMessage.Mutable message, long timeout)