send Packet
Sends a packet.
Parameters
packet
the packet
void sendPacket(Packet<? extends Object> packet, GenericFutureListener<? extends Future<? extends Object>> callback)
Content copied to clipboard
Sends a packet.
Parameters
packet
the packet
callback
an optional callback to execute after the packet is sent, may be {@code null}
. The callback may also accept a ChannelFutureListener.