public class KeepAlivePacket extends AbstractLocalPacket
header = empty middle = way end = empty
EMPTY_ARRAY, end, global, header, LOCAL_HEADER_SIZE, middle
Constructor and Description |
---|
KeepAlivePacket() |
Modifier and Type | Method and Description |
---|---|
void |
createAllBuffers(LocalChannelReference lcr,
int networkHeader)
Prepare the 3 buffers Header, Middle and End
|
static KeepAlivePacket |
createFromBuffer(int headerLength,
int middleLength,
int endLength,
io.netty.buffer.ByteBuf buf) |
byte |
getType() |
boolean |
hasGlobalBuffer() |
boolean |
isToValidate() |
String |
toString() |
void |
validate()
Validate the connection
|
clear, createEnd, createHeader, createMiddle, getLocalPacket, getLocalPacketForNetworkPacket, retain
public static KeepAlivePacket createFromBuffer(int headerLength, int middleLength, int endLength, io.netty.buffer.ByteBuf buf) throws OpenR66ProtocolPacketException
headerLength
- middleLength
- endLength
- buf
- OpenR66ProtocolPacketException
public final boolean hasGlobalBuffer()
hasGlobalBuffer
in class AbstractLocalPacket
public final void createAllBuffers(LocalChannelReference lcr, int networkHeader)
AbstractLocalPacket
createAllBuffers
in class AbstractLocalPacket
public final byte getType()
getType
in class AbstractLocalPacket
public final String toString()
toString
in class AbstractLocalPacket
public final boolean isToValidate()
public final void validate()
Copyright © 2009–2022 Waarp. All rights reserved.