Interface RequestPacketResponse<R extends Packet>
- Type Parameters:
R- The response packet type
public interface RequestPacketResponse<R extends Packet>
Represents a callback for the response of a request packet.
(ChannelException exception)Sets the response of the request packet as failed with the given
If this response fails, then will other side of the connection end up with a
exception- The exception
(R response)Sets the response of the request packet as success with the given response packet.
response- The response packet