Interface FixedTransactionalPacketBinding<P extends RequestPacket<R>,R extends Packet>
- Type Parameters:
P
- The request packet typeR
- 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 Summary
Modifier and TypeMethodDescriptionGets the type of the response packet.Methods inherited from interface org.spongepowered.api.network.channel.packet.TransactionalPacketBinding
addResponseHandler, addResponseHandler, addResponseHandler, addResponseHandler, opcode, packetType, setRequestHandler, setRequestHandler
-
Method Details
-
responsePacketType
Gets the type of the response packet.- Returns:
- The response packet type
-