
public class InformationPacket extends AbstractLocalPacket
header = "rulename" middle = requestedInfo end = "FILENAME"
| Modifier and Type | Class and Description |
|---|---|
static class |
InformationPacket.ASKENUM |
EMPTY_ARRAY, end, global, header, LOCAL_HEADER_SIZE, middle| Constructor and Description |
|---|
InformationPacket(String rulename,
byte request,
String filename) |
| Modifier and Type | Method and Description |
|---|---|
void |
createAllBuffers(LocalChannelReference lcr,
int networkHeader)
Prepare the 3 buffers Header, Middle and End
|
static InformationPacket |
createFromBuffer(int headerLength,
int middleLength,
int endLength,
io.netty.buffer.ByteBuf buf) |
String |
getFilename() |
byte |
getRequest() |
String |
getRulename() |
byte |
getType() |
boolean |
hasGlobalBuffer() |
String |
toString() |
clear, createEnd, createHeader, createMiddle, getLocalPacket, getLocalPacketForNetworkPacket, retainpublic static InformationPacket createFromBuffer(int headerLength, int middleLength, int endLength, io.netty.buffer.ByteBuf buf) throws OpenR66ProtocolPacketException
headerLength - middleLength - endLength - buf - OpenR66ProtocolPacketExceptionpublic final boolean hasGlobalBuffer()
hasGlobalBuffer in class AbstractLocalPacketpublic final void createAllBuffers(LocalChannelReference lcr, int networkHeader) throws OpenR66ProtocolPacketException
AbstractLocalPacketcreateAllBuffers in class AbstractLocalPacketOpenR66ProtocolPacketExceptionpublic final byte getType()
getType in class AbstractLocalPacketpublic final String toString()
toString in class AbstractLocalPacketpublic final byte getRequest()
public final String getRulename()
public final String getFilename()
Copyright © 2009–2022 Waarp. All rights reserved.