Interface ServerMessage

All Superinterfaces:
Map<String,​Object>, Message
All Known Subinterfaces:
ServerMessage.Mutable
All Known Implementing Classes:
ServerMessageImpl

public interface ServerMessage extends Message

Representation of a server side message.

  • Method Details

    • getAssociated

      ServerMessage.Mutable getAssociated()
      Returns:
      a message associated with this message on the server. Typically this is a meta message that the current message is being sent in response to.
    • isLazy

      boolean isLazy()
      Returns:
      true if the message is lazy and should not force the session's queue to be flushed
    • getBayeuxContext

      BayeuxContext getBayeuxContext()
      Returns:
      the BayeuxContext associated with this message
    • getServerTransport

      ServerTransport getServerTransport()
      Returns:
      the ServerTransport associated with this message