public final class LocalPacketFactory extends Object
Modifier and Type | Field and Description |
---|---|
static byte |
AUTHENTPACKET |
static byte |
BANDWIDTHPACKET |
static byte |
BLOCKREQUESTPACKET |
static byte |
BUSINESSREQUESTPACKET |
static byte |
CANCELPACKET |
static byte |
CONFEXPORTPACKET |
static byte |
CONFIMPORTPACKET |
static byte |
CONNECTERRORPACKET |
static byte |
DATAPACKET |
static byte |
ENDREQUESTPACKET |
static byte |
ENDTRANSFERPACKET |
static byte |
ERRORPACKET |
static byte |
INFORMATIONPACKET |
static byte |
JSONREQUESTPACKET |
static byte |
KEEPALIVEPACKET |
static byte |
LOGPACKET |
static byte |
LOGPURGEPACKET |
static byte |
NOOPPACKET |
static byte |
REQUESTPACKET |
static byte |
REQUESTUSERPACKET |
static byte |
SHUTDOWNPACKET |
static byte |
STARTUPPACKET |
static byte |
STOPPACKET |
static byte |
TESTPACKET |
static byte |
VALIDPACKET |
Modifier and Type | Method and Description |
---|---|
static AbstractLocalPacket |
createPacketFromByteBuf(int headerLength,
int middleLength,
int endLength,
io.netty.buffer.ByteBuf buf)
This method create a Packet from the ByteBuf.
|
static int |
estimateSize(Object o) |
public static final byte AUTHENTPACKET
public static final byte STARTUPPACKET
public static final byte DATAPACKET
public static final byte VALIDPACKET
public static final byte ERRORPACKET
public static final byte CONNECTERRORPACKET
public static final byte REQUESTPACKET
public static final byte SHUTDOWNPACKET
public static final byte STOPPACKET
public static final byte CANCELPACKET
public static final byte CONFEXPORTPACKET
public static final byte CONFIMPORTPACKET
public static final byte TESTPACKET
public static final byte ENDTRANSFERPACKET
public static final byte REQUESTUSERPACKET
public static final byte LOGPACKET
public static final byte LOGPURGEPACKET
public static final byte INFORMATIONPACKET
public static final byte BANDWIDTHPACKET
public static final byte ENDREQUESTPACKET
public static final byte KEEPALIVEPACKET
public static final byte BUSINESSREQUESTPACKET
public static final byte NOOPPACKET
public static final byte BLOCKREQUESTPACKET
public static final byte JSONREQUESTPACKET
public static AbstractLocalPacket createPacketFromByteBuf(int headerLength, int middleLength, int endLength, io.netty.buffer.ByteBuf buf) throws OpenR66ProtocolPacketException
headerLength
- length of the header from the current
position of
the buffermiddleLength
- endLength
- buf
- OpenR66ProtocolPacketException
public static final int estimateSize(Object o)
Copyright © 2009–2020 Waarp. All rights reserved.