JavaScript is disabled on your browser.
Skip navigation links
io.netty.channel

Class DefaultAddressedEnvelope<M,A extends SocketAddress>

    • Constructor Summary

      Constructors
      Constructor and Description
      DefaultAddressedEnvelope (M message, A recipient)
      Creates a new instance with the specified message and recipient address.
      DefaultAddressedEnvelope (M message, A recipient, A sender)
      Creates a new instance with the specified message, recipient address, and sender address.
    • Method Summary

      All Methods
      Modifier and Type Method and Description
      M content ()
      Returns the message wrapped by this envelope message.
      A recipient ()
      Returns the address of the recipient of this message.
      int refCnt ()
      Returns the reference count of this object.
      boolean release ()
      Decreases the reference count by 1 and deallocates this object if the reference count reaches at 0.
      boolean release (int decrement)
      Decreases the reference count by the specified decrement and deallocates this object if the reference count reaches at 0.
      AddressedEnvelope<M,A> retain ()
      Increases the reference count by 1.
      AddressedEnvelope<M,A> retain (int increment)
      Increases the reference count by the specified increment.
      A sender ()
      Returns the address of the sender of this message.
      String toString ()
      AddressedEnvelope<M,A> touch ()
      Records the current access location of this object for debugging purposes.
      AddressedEnvelope<M,A> touch (Object hint)
      Records the current access location of this object with an additional arbitrary information for debugging purposes.
Skip navigation links

Copyright © 2008–2025 The Netty Project. All rights reserved.

AltStyle によって変換されたページ (->オリジナル) /