Package titan.network
Class TitanProtocol.TitanPacket
java.lang.Object
titan.network.TitanProtocol.TitanPacket
- Enclosing class:
- TitanProtocol
Represents a parsed Titan Protocol packet, containing its operation code and payload.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
opCode
public byte opCodeThe operation code of the received packet. -
payload
The string payload of the received packet.
-
-
Constructor Details
-
TitanPacket
Constructs a newTitanPacket.- Parameters:
op- The operation code for the packet.pl- The payload string for the packet.
-