Uses of Interface
com.hypixel.hytale.protocol.io.PacketStatsRecorder
Packages that use PacketStatsRecorder
Package
Description
-
Uses of PacketStatsRecorder in com.hypixel.hytale.protocol.io
Fields in com.hypixel.hytale.protocol.io declared as PacketStatsRecorderModifier and TypeFieldDescriptionstatic final PacketStatsRecorderPacketStatsRecorder.NOOPNo-op implementation for when stats recording is not needed.Fields in com.hypixel.hytale.protocol.io with type parameters of type PacketStatsRecorderModifier and TypeFieldDescriptionstatic final io.netty.util.AttributeKey<PacketStatsRecorder> PacketStatsRecorder.CHANNEL_KEYChannel attribute key for accessing the recorder from encoder/decoder.Methods in com.hypixel.hytale.protocol.io that return PacketStatsRecorderMethods in com.hypixel.hytale.protocol.io with parameters of type PacketStatsRecorderModifier and TypeMethodDescriptionstatic PacketPacketIO.readFramedPacket(io.netty.buffer.ByteBuf in, int payloadLength, io.netty.buffer.ByteBufAllocator allocator, PacketStatsRecorder statsRecorder) Read a framed packet from a ByteBuf.static PacketPacketIO.readFramedPacket(MemorySegment decompressionContext, MemorySegment in, int payloadLength, PacketStatsRecorder statsRecorder) static PacketPacketIO.readFramedPacketWithInfo(io.netty.buffer.ByteBuf in, int payloadLength, io.netty.buffer.ByteBufAllocator allocator, PacketRegistry.PacketInfo info, PacketStatsRecorder statsRecorder) Read a framed packet with pre-validated PacketInfo (packet ID and size already validated).static PacketPacketIO.readFramedPacketWithInfo(MemorySegment decompressionContext, MemorySegment in, int offset, int payloadLength, PacketRegistry.PacketInfo info, PacketStatsRecorder statsRecorder) static voidPacketIO.writeFramedPacket(Packet packet, Class<? extends Packet> packetClass, io.netty.buffer.ByteBuf out, io.netty.buffer.ByteBufAllocator allocator, PacketStatsRecorder statsRecorder) Write a packet with framing, using an explicit packet class for registry lookup.static intPacketIO.writeFramedPacket(MemorySegment compressionContext, Packet packet, PacketRegistry.PacketInfo packetInfo, MemorySegment out, int offset, int packetSize, PacketStatsRecorder statsRecorder) static voidPacketIO.writeFramedPacketWithInfo(Packet packet, PacketRegistry.PacketInfo info, io.netty.buffer.ByteBuf out, io.netty.buffer.ByteBufAllocator allocator, PacketStatsRecorder statsRecorder) -
Uses of PacketStatsRecorder in com.hypixel.hytale.server.core.io
Classes in com.hypixel.hytale.server.core.io that implement PacketStatsRecorderModifier and TypeClassDescriptionclassServer-side implementation ofPacketStatsRecorderthat tracks per-packet statistics including both compressed and uncompressed sizes.Methods in com.hypixel.hytale.server.core.io that return PacketStatsRecorder -
Uses of PacketStatsRecorder in com.hypixel.hytale.server.core.io.netty
Methods in com.hypixel.hytale.server.core.io.netty that return PacketStatsRecorder