public class EolPacket extends Packet
channel, CHANNEL_ID_OFFSET
CODE_MASK, encodedBody, encodingBuffer, length
Modifier | Constructor and Description |
---|---|
private |
EolPacket() |
Modifier and Type | Method and Description |
---|---|
static EolPacket |
create() |
void |
decodeBody(ByteBuffer buffer)
Decodes the body of this package from a byte buffer
positioned at the first byte of the package.
|
void |
encodeBody(ByteBuffer buffer)
Encodes the body of this package onto the given buffer at the current position.
|
int |
getCode()
Returns the code of this package
|
String |
toString() |
decode, encode, getChannel, hasChannelId, patchChannelId, setChannel
allocateAndEncode, codeDecodedHook, decodeAndDecompressBody, encode, encodeAndCompressBody, getLength, getTimestamp, grantEncodingBuffer, grantEncodingBuffer, isEncoded, setCompressionLimit, setCompressionType, setEncodedBody, setTimestamp
public static EolPacket create()
public int getCode()
BasicPacket
getCode
in class BasicPacket
public void decodeBody(ByteBuffer buffer)
BasicPacket
decodeBody
in class BasicPacket
public void encodeBody(ByteBuffer buffer)
BasicPacket
encodeBody
in class BasicPacket
Copyright © 2018. All rights reserved.