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.ReferenceCounted
AddressedEnvelope<M,A> retain(int increment)
retain
in interface io.netty.util.ReferenceCounted
AddressedEnvelope<M,A> touch()
touch
in interface io.netty.util.ReferenceCounted
AddressedEnvelope<M,A> touch(Object hint)
touch
in interface io.netty.util.ReferenceCounted
Copyright © 2008–2019 The Netty Project. All rights reserved.