public class PingPacket extends BasicPacket
CODE_MASK, encodedBody, encodingBuffer, length
Constructor and Description |
---|
PingPacket() |
Modifier and Type | Method and Description |
---|---|
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
|
allocateAndEncode, codeDecodedHook, decode, decodeAndDecompressBody, decodeBody, encode, encode, encodeAndCompressBody, ensureInstanceOf, getLength, getTimestamp, grantEncodingBuffer, grantEncodingBuffer, hasChannelId, isEncoded, patchChannelId, setCompressionLimit, setCompressionType, setEncodedBody, setTimestamp, toString
public int getCode()
BasicPacket
getCode
in class BasicPacket
public void encodeBody(ByteBuffer buffer)
BasicPacket
encodeBody
in class BasicPacket
Copyright © 2018. All rights reserved.