Interface ServerSendContext<T>

    • Method Detail

      • type

        InboundType type()
        Type of this response.
        Returns:
        Type of this response.
      • payload

        T payload()
        Returns the outbound message.
        Returns:
        Outbound message.
      • inboundContext

        ServerInboundContext<T> inboundContext()
        Returns the inbound context.
        Returns:
        Inbound context.
      • overrideMessage

        void overrideMessage​(T msg)
        Overrides the message to be sent with the specified one.
        Parameters:
        msg - New message that should be sent instead of the original one.
      • hasMetaData

        boolean hasMetaData()
        Returns true if this message has meta-data.
        Returns:
        true if this message has meta-data.
        See Also:
        metaData()