Interface FixedTransactionalPacketBinding<P extends RequestPacket<R>,R extends Packet>

Type Parameters:
P - The request packet type
R - The response packet type
All Superinterfaces:
PacketBinding<P>, TransactionalPacketBinding<P,R>

public interface FixedTransactionalPacketBinding<P extends RequestPacket<R>,R extends Packet> extends TransactionalPacketBinding<P,R>
A transactional packet binding which is bound to a fixed response type.
  • Method Details

    • responsePacketType

      Class<R> responsePacketType()
      Gets the type of the response packet.
      Returns:
      The response packet type