@Deprecated public final class UdtMessage extends DefaultByteBufHolder
TypeUDT.DATAGRAM
messages.Constructor and Description |
---|
UdtMessage(ByteBuf data)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
UdtMessage |
copy()
Deprecated.
Create a deep copy of this
ByteBufHolder . |
UdtMessage |
duplicate()
Deprecated.
Duplicate the
ByteBufHolder . |
UdtMessage |
retain()
Deprecated.
Increases the reference count by
1 . |
UdtMessage |
retain(int increment)
Deprecated.
Increases the reference count by the specified
increment . |
content, contentToString, equals, hashCode, refCnt, release, release, toString
public UdtMessage(ByteBuf data)
public UdtMessage copy()
ByteBufHolder
ByteBufHolder
.copy
in interface ByteBufHolder
copy
in class DefaultByteBufHolder
public UdtMessage duplicate()
ByteBufHolder
ByteBufHolder
. Be aware that this will not automatically call ByteBufHolder.retain()
.duplicate
in interface ByteBufHolder
duplicate
in class DefaultByteBufHolder
public UdtMessage retain()
ReferenceCounted
1
.retain
in interface ByteBufHolder
retain
in interface ReferenceCounted
retain
in class DefaultByteBufHolder
public UdtMessage retain(int increment)
ReferenceCounted
increment
.retain
in interface ByteBufHolder
retain
in interface ReferenceCounted
retain
in class DefaultByteBufHolder
Copyright © 2008–2018 The Netty Project. All rights reserved.