Contents
Class ProtocolUtil
java.lang.Object
com.hypixel.hytale.protocol.io.netty.ProtocolUtil
Protocol-level Netty utilities for connection management.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final io.netty.util.AttributeKey<IntPredicate> Channel attribute that tests if the current handler accepts a packet ID.static final io.netty.util.AttributeKey<Duration> Channel attribute for packet timeout duration.static final io.netty.util.AttributeKey<NetworkChannel> -
Method Summary
-
Field Details
-
STREAM_CHANNEL_KEY
-
PACKET_TIMEOUT_KEY
Channel attribute for packet timeout duration. Set by the server, read by PacketDecoder to enforce timeouts. -
HANDLES_PACKET_KEY
Channel attribute that tests if the current handler accepts a packet ID. Set by the server's pipeline handlers, read by PacketDecoder before it buffers the payload.
-