private class NetworkDispatcher.MultiPartCustomPayload extends SPacketCustomPayload
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
channel |
private byte[] |
data |
private PacketBuffer |
data_buf |
private int |
offset |
private int |
part_count |
private int |
part_expected |
Modifier | Constructor and Description |
---|---|
private |
MultiPartCustomPayload(PacketBuffer preamble) |
Modifier and Type | Method and Description |
---|---|
PacketBuffer |
getBufferData() |
java.lang.String |
getChannelName() |
boolean |
isComplete() |
void |
processPart(PacketBuffer input) |
processPacket, readPacketData, writePacketData
private java.lang.String channel
private byte[] data
private PacketBuffer data_buf
private int part_count
private int part_expected
private int offset
private MultiPartCustomPayload(PacketBuffer preamble) throws java.io.IOException
java.io.IOException
public void processPart(PacketBuffer input) throws java.io.IOException
java.io.IOException
public boolean isComplete()
public java.lang.String getChannelName()
getChannelName
in class SPacketCustomPayload
public PacketBuffer getBufferData()
getBufferData
in class SPacketCustomPayload