public class PacketTransactionEvent extends Packet
Due to the hard limit for UDP packet sizes a RemoteTransactionEvent is actually broken up into smaller messages.
buffer, bytes, dataOut, packetId, packetType, serverName, timestamp, TYPE_MESSAGES, TYPE_TRANSEVENT| Modifier and Type | Method and Description |
|---|---|
static PacketTransactionEvent |
forRead(Packet header,
SpiEbeanServer server) |
static PacketTransactionEvent |
forWrite(long packetId,
long timestamp,
String serverName) |
RemoteTransactionEvent |
getEvent() |
protected void |
readMessage(DataInput dataInput,
int msgType)
Overridden by more specific Packet implementations to read the messages.
|
forWrite, getBytes, getPacketId, getPacketType, getServerName, getSize, getTimestamp, incrementResendCount, read, readHeader, writeBinaryMessage, writeEofpublic static PacketTransactionEvent forWrite(long packetId, long timestamp, String serverName) throws IOException
IOExceptionpublic static PacketTransactionEvent forRead(Packet header, SpiEbeanServer server) throws IOException
IOExceptionpublic RemoteTransactionEvent getEvent()
protected void readMessage(DataInput dataInput, int msgType) throws IOException
PacketreadMessage in class PacketIOExceptionCopyright © 2014. All Rights Reserved.