Class CodecRegistry
java.lang.Object
com.zenith.network.codec.CodecRegistry
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanCodecs are invoked similar to the netty pipeline For inbound packets, higher priority codecs are invoked first For outbound packets, lower priority codecs are invoked firstgetId()handleInbound(@Nullable P packet, @NonNull S session) handleOutgoing(@Nullable P packet, @NonNull S session) handlePostOutgoing(@Nullable P packet, @NonNull S session) inthashCode()voidregister(PacketHandlerCodec codec) toString()voidunregister(PacketHandlerCodec codec)
-
Constructor Details
-
CodecRegistry
-
-
Method Details
-
register
-
unregister
-
getCodec
-
getCodecIds
-
handleInbound
-
handleOutgoing
-
handlePostOutgoing
-
getCodecs
Codecs are invoked similar to the netty pipeline For inbound packets, higher priority codecs are invoked first For outbound packets, lower priority codecs are invoked first -
getId
-
equals
-
canEqual
-
hashCode
-
toString
-