Package | Description |
---|---|
org.waarp.openr66.client |
Classes implementing Clients
|
org.waarp.openr66.protocol.localhandler |
Classes implementing LocalHandlers (real work)
|
org.waarp.openr66.protocol.localhandler.packet |
Classes implementing Packet for Local Handlers
|
org.waarp.openr66.protocol.networkhandler |
Classes implementing Network Handler (multiplexing local handlers)
|
org.waarp.openr66.protocol.networkhandler.packet |
Classes implementing Packet for Network Handler
|
org.waarp.openr66.protocol.utils |
Classes implementing Utilities
|
Modifier and Type | Method and Description |
---|---|
static boolean |
AbstractTransfer.sendValidPacket(DbHostAuth host,
LocalChannelReference localChannelReference,
AbstractLocalPacket packet,
R66Future future) |
Modifier and Type | Method and Description |
---|---|
static void |
LocalServerHandler.channelRead0(LocalChannelReference localChannelReference,
AbstractLocalPacket msg) |
static void |
LocalServerHandler.channelRead1(LocalChannelReference localChannelReference,
AbstractLocalPacket packet) |
Modifier and Type | Class and Description |
---|---|
class |
AuthentPacket
Request Authentication class
header = "hostId" middle = "key bytes" end = localId + way + (optional
version: could be a JSON on the form
version.{})
|
class |
BlockRequestPacket
Block Request Message class
1 code (byte as 0: unblock, 1:block): block, 1 string: spassword(or key)
|
class |
BusinessRequestPacket
Business Request Message class for packet
1 string and on integer and one byte:
- sheader = full text with class at first place, following (space separated) by extra arguments - smiddle = integer - send = byte |
class |
ConnectionErrorPacket
Connection Error Message class for packet
2 strings: sheader,smiddle
|
class |
DataPacket
Data packet
header = packetRank middle = data end = key
|
class |
EndRequestPacket
End of Request class
header = Error.code middle = way end = might be empty
|
class |
EndTransferPacket
End of Transfer class
header = "request" middle = way end = might be empty
|
class |
ErrorPacket
Error Message class for packet
2 strings+1 error code: sheader,smiddle,code
|
class |
InformationPacket
Information of files class
header = "rulename" middle = requestedInfo end = "FILENAME"
|
class |
JsonCommandPacket
Json Command Message class for packet
2 strings and one byte: request,result,send
|
class |
KeepAlivePacket
Keep Alive class
header = empty middle = way end = empty
|
class |
NoOpPacket
No Op class
header = empty middle = empty end = empty
|
class |
RequestPacket
Request class
header = "rulename MODETRANS" middle = way+"FILENAME BLOCKSIZE RANK specialId
code (optional length)" end =
"fileInformation"
or
header = "{rule:rulename, mode:MODETRANS}" middle = way{filename:FILENAME,
block:BLOCKSIZE, rank:RANK,
id:specialId, code:code, length:length}" end = "fileInformation"
|
class |
ShutdownPacket
Shutdown Message class for packet
1 string: spassword(or key) + 1 byte (optional) to restart (if not null)
|
class |
StartupPacket
Startup Message class
1 localId (Integer): localId
|
class |
TestPacket
Test class for packet
3 strings: sheader,smiddle,send
|
class |
ValidPacket
Validation Message class for packet
2 strings and one byte: sheader,smiddle,send
|
Modifier and Type | Method and Description |
---|---|
static AbstractLocalPacket |
LocalPacketFactory.createPacketFromByteBuf(int headerLength,
int middleLength,
int endLength,
io.netty.buffer.ByteBuf buf)
This method create a Packet from the ByteBuf.
|
static AbstractLocalPacket |
LocalPacketCodec.decodeNetworkPacket(io.netty.buffer.ByteBuf buf) |
Modifier and Type | Method and Description |
---|---|
protected void |
LocalPacketCodec.encode(io.netty.channel.ChannelHandlerContext ctx,
AbstractLocalPacket msg,
io.netty.buffer.ByteBuf out) |
Modifier and Type | Method and Description |
---|---|
static void |
NetworkServerHandler.writeError(io.netty.channel.Channel channel,
Integer remoteId,
Integer localId,
AbstractLocalPacket error)
Write error back to remote client
|
Constructor and Description |
---|
NetworkPacket(int localId,
int remoteId,
AbstractLocalPacket packet,
LocalChannelReference lcr) |
Modifier and Type | Method and Description |
---|---|
static io.netty.channel.ChannelFuture |
ChannelUtils.writeAbstractLocalPacket(LocalChannelReference localChannelReference,
AbstractLocalPacket packet,
boolean wait)
Write an AbstractLocalPacket to the network Channel
|
Copyright © 2009–2020 Waarp. All rights reserved.