send To Server
void sendToServer(Packet<? extends Object> packet, GenericFutureListener<? extends Future<? extends Object>> completionListener)
Content copied to clipboard
Send a packet to the server.
Parameters
packet
The packet to be sent.
completionListener
Completion listener. Can be used to check forthe success or failure of sending a given packet, among others.
Sources
jvm source
Link copied to clipboard