M - the type of the wrapped messageA - the type of the addresspublic interface AddressedEnvelope<M,A extends SocketAddress>
extends io.netty.util.ReferenceCounted
| 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.
|
AddressedEnvelope<M,A> |
retain() |
AddressedEnvelope<M,A> |
retain(int increment) |
A |
sender()
Returns the address of the sender of this message.
|
AddressedEnvelope<M,A> |
touch() |
AddressedEnvelope<M,A> |
touch(Object hint) |
M content()
A sender()
A recipient()
AddressedEnvelope<M,A> retain()
retain in interface io.netty.util.ReferenceCountedAddressedEnvelope<M,A> retain(int increment)
retain in interface io.netty.util.ReferenceCountedAddressedEnvelope<M,A> touch()
touch in interface io.netty.util.ReferenceCountedAddressedEnvelope<M,A> touch(Object hint)
touch in interface io.netty.util.ReferenceCountedCopyright © 2008–2025 The Netty Project. All rights reserved.