Interface AddressedEnvelope<M,​A extends SocketAddress>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      M content()
      Returns the message wrapped by this envelope message.
      A recipient()
      Returns the address of the recipient of this message.
      A sender()
      Returns the address of the sender of this message.
    • Method Detail

      • content

        M content()
        Returns the message wrapped by this envelope message.
      • sender

        A sender()
        Returns the address of the sender of this message.
      • recipient

        A recipient()
        Returns the address of the recipient of this message.