Interface AddressedEnvelope<M,​A extends java.net.SocketAddress>

    • 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.
      • touch

        AddressedEnvelope<M,​A> touch​(java.lang.Object hint)
        Description copied from interface: ReferenceCounted
        Records the current access location of this object with an additional arbitrary information for debugging purposes. If this object is determined to be leaked, the information recorded by this operation will be provided to you via ResourceLeakDetector.
        Specified by:
        touch in interface ReferenceCounted