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 aPacket
type in aPacketChannel
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
opcode()
Gets the opcode that is assigned to this binding.Class<P>
packetType()
Gets the type of thePacket
.
-