public class PingPacket extends BasicPacket
Modifier and Type | Field and Description |
---|---|
(package private) static int |
MQF_QFLAGS
feature bits, taken from searchlib/common/transport.h
|
(package private) static int |
MQFLAG_REPORT_ACTIVEDOCS
flag bits, taken from searchlib/common/transport.h
|
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, getLength, getTimestamp, grantEncodingBuffer, grantEncodingBuffer, hasChannelId, isEncoded, patchChannelId, setCompressionLimit, setCompressionType, setEncodedBody, setTimestamp, toString
static final int MQF_QFLAGS
static final int MQFLAG_REPORT_ACTIVEDOCS
public int getCode()
BasicPacket
getCode
in class BasicPacket
public void encodeBody(ByteBuffer buffer)
BasicPacket
encodeBody
in class BasicPacket
Copyright © 2017. All rights reserved.