Package top.focess.qq.api.net
Interface ServerMultiReceiver
-
- All Superinterfaces:
Receiver,ServerReceiver
public interface ServerMultiReceiver extends ServerReceiver
The socket multi receiver for server.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<Client>getClients(String name)Get the list of the clients with given namevoidsendPacket(int id, Packet packet)Send packet to the special client-
Methods inherited from interface top.focess.qq.api.net.Receiver
close, unregister, unregisterAll
-
Methods inherited from interface top.focess.qq.api.net.ServerReceiver
getClient, isConnected, register, sendPacket
-
-
-
-
Method Detail
-
sendPacket
void sendPacket(int id, Packet packet)Send packet to the special client- Parameters:
id- the client idpacket- the packet
-
-