Package ac.boar.anticheat.packets.other
Class NetworkLatencyPackets
java.lang.Object
ac.boar.anticheat.packets.other.NetworkLatencyPackets
- All Implemented Interfaces:
PacketListener
Netty-bridge listener: observes inbound and outbound NetworkStackLatency packets on the wire
and forwards the events to the player's
BoarAcknowledgmentTransport.
The transport owns all dispatch / kick / cancel decisions.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final longstatic final long -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoid
-
Field Details
-
LATENCY_MAGNITUDE
public static final long LATENCY_MAGNITUDE- See Also:
-
PS5_LATENCY_MAGNITUDE
public static final long PS5_LATENCY_MAGNITUDE- See Also:
-
-
Constructor Details
-
NetworkLatencyPackets
public NetworkLatencyPackets()
-
-
Method Details
-
onPacketSend
- Specified by:
onPacketSendin interfacePacketListener
-
onPacketReceived
- Specified by:
onPacketReceivedin interfacePacketListener
-