Interface PacketBinding<P extends Packet>
- Type Parameters:
P- The packet type
- All Known Subinterfaces:
FixedTransactionalPacketBinding<P,R>, HandlerPacketBinding<P>, TransactionalPacketBinding<P, R>
public interface PacketBinding<P extends Packet>
Represents a binding of a
Packet type
in a PacketChannel.-
Method Details
-
opcode
int opcode()Gets the opcode that is assigned to this binding.- Returns:
- The opcode
-
packetType
-