Interface ServerMessage

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

    public interface ServerMessage
    extends Message

    Representation of a server side message.

    • Method Detail

      • 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