public final class UdtMessage extends DefaultByteBufHolder
TypeUDT.DATAGRAM messages.NioUdtProvider#MESSAGE_CONNECTOR},
NioUdtProvider#MESSAGE_RENDEZVOUS}| Constructor and Description |
|---|
UdtMessage(ByteBuf data) |
| Modifier and Type | Method and Description |
|---|---|
UdtMessage |
copy()
Create a deep copy of this
ByteBufHolder. |
UdtMessage |
duplicate()
Duplicate the
ByteBufHolder. |
UdtMessage |
retain()
Increases the reference count by
1. |
UdtMessage |
retain(int increment)
Increases the reference count by the specified
increment. |
UdtMessage |
touch()
Records the current access location of this object for debugging purposes.
|
UdtMessage |
touch(Object hint)
Records the current access location of this object with an additonal arbitrary information for debugging
purposes.
|
public UdtMessage(ByteBuf data)
public UdtMessage copy()
ByteBufHolderByteBufHolder.copy in interface ByteBufHoldercopy in class DefaultByteBufHolderpublic UdtMessage duplicate()
ByteBufHolderByteBufHolder. Be aware that this will not automatically call ByteBufHolder.retain().duplicate in interface ByteBufHolderduplicate in class DefaultByteBufHolderpublic UdtMessage retain()
ReferenceCounted1.retain in interface ByteBufHolderretain in interface ReferenceCountedretain in class DefaultByteBufHolderpublic UdtMessage retain(int increment)
ReferenceCountedincrement.retain in interface ByteBufHolderretain in interface ReferenceCountedretain in class DefaultByteBufHolderpublic UdtMessage touch()
ReferenceCountedResourceLeakDetector. This method is a shortcut to touch(null).touch in interface ByteBufHoldertouch in interface ReferenceCountedtouch in class DefaultByteBufHolderpublic UdtMessage touch(Object hint)
ReferenceCountedResourceLeakDetector.touch in interface ByteBufHoldertouch in interface ReferenceCountedtouch in class DefaultByteBufHolderCopyright © 2008–2015 The Netty Project. All rights reserved.