org.jSyncManager.API.Protocol
Class GenericPacket
java.lang.Objectorg.jSyncManager.API.Protocol.GenericPacket
- java.io.Serializable
public class GenericPacket
extends java.lang.Object
implements java.io.Serializable
The GenericPacket class.
This class represents a generic packet structure. It is used for
passing packets between protocol layers for encoding and decoding.
byte[] | data- A byte array containing the packet data
|
byte | destination- The destination socket for this packet.
|
byte | source- The source socket for this packet.
|
byte | transactionID- The transaction ID for this packet.
|
data
public byte[] data
A byte array containing the packet data
destination
public byte destination
The destination socket for this packet.
source
public byte source
The source socket for this packet.
transactionID
public byte transactionID
The transaction ID for this packet.