GeezerVison is showing netty.io — TcpDnsResponseDecoder (Netty API Reference (4.1.141.Final))
Class TcpDnsResponseDecoder
-
-
-
Constructor Summary
Constructors
Constructor
Description
Creates a new decoder with the specified recordDecoder and maxFrameLength
-
Method Summary
Modifier and Type
Method
Description
Create a frame out of the ByteBuf and return it.
Extract the sub-region of the specified buffer.
decode, getUnadjustedFrameLength
Modifier and Type
Method
Description
protected final void
Decode the from one ByteBuf to an other.
protected long
Decodes the specified region of the buffer into an unadjusted frame length.
actualReadableBytes, callDecode, channelInactive, channelRead, channelReadComplete, decodeLast, discardSomeReadBytes, handlerRemoved, handlerRemoved0, internalBuffer, isSingleDecode, setCumulator, setDiscardAfterReads, setSingleDecode, userEventTriggered
Modifier and Type
Method
Description
protected int
Returns the actual number of readable bytes in the internal cumulative
buffer of this decoder.
protected void
Called once data should be decoded from the given ByteBuf.
void
void
void
protected void
protected final void
final void
Do nothing by default, sub-classes may override this method.
protected void
Gets called after the ByteToMessageDecoder was removed from the actual context and it doesn't handle
events anymore.
Returns the internal cumulative buffer of this decoder.
boolean
void
void
void
void
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
TcpDnsResponseDecoder
public TcpDnsResponseDecoder()
-
TcpDnsResponseDecoder
public TcpDnsResponseDecoder(DnsRecordDecoder recordDecoder,
int maxFrameLength)
Creates a new decoder with the specified recordDecoder and maxFrameLength
-
|