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