Interface TransactionalPacketBinding<P extends RequestPacket<R>,​R extends Packet>

  • Type Parameters:
    P - The type of the request packet
    R - The type of the response packet
    All Superinterfaces:
    PacketBinding<P>
    All Known Subinterfaces:
    FixedTransactionalPacketBinding<P,​R>

    public interface TransactionalPacketBinding<P extends RequestPacket<R>,​R extends Packet>
    extends PacketBinding<P>
    A packet binding that represents a request/response pair. One side of a connection can send a RequestPacket and the other side will normally respond with a response Packet.

    Request/response pairs share an opcode, a additional byte will specify whether it's a request, response or a no-response.