Package com.hypixel.hytale.protocol.io
Class NoopPacketStatsRecorder
java.lang.Object
com.hypixel.hytale.protocol.io.NoopPacketStatsRecorder
- All Implemented Interfaces:
PacketStatsRecorder
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.hypixel.hytale.protocol.io.PacketStatsRecorder
PacketStatsRecorder.PacketStatsEntry, PacketStatsRecorder.RecentStats -
Field Summary
FieldsFields inherited from interface com.hypixel.hytale.protocol.io.PacketStatsRecorder
CHANNEL_KEY, NOOP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetEntry(int packetId) voidrecordReceive(int packetId, int uncompressedSize, int compressedSize) voidrecordSend(int packetId, int uncompressedSize, int compressedSize)
-
Field Details
-
EMPTY_ENTRY
-
-
Constructor Details
-
NoopPacketStatsRecorder
NoopPacketStatsRecorder()
-
-
Method Details
-
recordSend
public void recordSend(int packetId, int uncompressedSize, int compressedSize) - Specified by:
recordSendin interfacePacketStatsRecorder
-
recordReceive
public void recordReceive(int packetId, int uncompressedSize, int compressedSize) - Specified by:
recordReceivein interfacePacketStatsRecorder
-
getEntry
- Specified by:
getEntryin interfacePacketStatsRecorder
-