DelayedPacket
A packet that is delayed until we release it.
Properties
packet
readonlypacket:Packet
The packet that has been delayed.
time
readonlytime:number
The original time this packet was send.
Methods
direction()
direction():
PacketDirection
Returns the direction of the packet, either IN or OUT.
Returns
hasAged()
hasAged(
ms):boolean
Checks if this packet has aged beyond the specified time.
Parameters
ms
number
ms - The number of milliseconds.
Returns
boolean
True if this packet has aged beyond the given time, false otherwise.
Last updated