M - the type of the wrapped messageA - the type of the addresspublic interface AddressedEnvelope<M,A extends SocketAddress> extends 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()
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.
|
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 additonal arbitrary information for debugging
purposes.
|
refCnt, release, releaseM content()
A sender()
A recipient()
AddressedEnvelope<M,A> retain()
ReferenceCounted1.retain in interface ReferenceCountedAddressedEnvelope<M,A> retain(int increment)
ReferenceCountedincrement.retain in interface ReferenceCountedAddressedEnvelope<M,A> touch()
ReferenceCountedResourceLeakDetector. This method is a shortcut to touch(null).touch in interface ReferenceCountedAddressedEnvelope<M,A> touch(Object hint)
ReferenceCountedResourceLeakDetector.touch in interface ReferenceCountedCopyright © 2008–2015 The Netty Project. All rights reserved.