Interface PayloadHandlerProtocol<BUF extends FriendlyByteBuf,BASE extends CustomPacketPayload>

All Superinterfaces:
BaseProtocol<PayloadHandlerFlow<BUF,BASE>,PayloadHandlerProtocol<BUF,BASE>>, PayloadConnection<BASE>
All Known Subinterfaces:
PayloadHandlerFlow<BUF,BASE>
All Known Implementing Classes:
PayloadChannel.Builder.HandlerFlow, PayloadChannel.Builder.HandlerProtocol

public interface PayloadHandlerProtocol<BUF extends FriendlyByteBuf,BASE extends CustomPacketPayload> extends BaseProtocol<PayloadHandlerFlow<BUF,BASE>,PayloadHandlerProtocol<BUF,BASE>>, PayloadConnection<BASE>
Entry point for a PayloadChannel protocol that mimics vanilla's Packet system where every packet must implement
invalid reference
SimplePacket
and will have their
invalid reference
handle(CTX, Context)
method called.