Packet
in package
AbstractYes
Represents a packet that can be sent or received over the network.
Table of Contents
Methods
- action() : int
- Returns the packet action associated with this packet.
- family() : int
- Returns the packet family associated with this packet.
- write() : void
- Serializes and writes this packet to the provided EoWriter.
Methods
action()
Returns the packet action associated with this packet.
public
abstract static action() : int
Return values
int —The packet action associated with this packet.
family()
Returns the packet family associated with this packet.
public
abstract static family() : int
Return values
int —The packet family associated with this packet.
write()
Serializes and writes this packet to the provided EoWriter.
public
abstract write(EoWriter $writer) : void
Parameters
- $writer : EoWriter
-
The writer that this packet will be written to.