Interface ServerMultiReceiver

    • Method Detail

      • sendPacket

        void sendPacket​(int id,
                        Packet packet)
        Send packet to the special client
        Parameters:
        id - the client id
        packet - the packet
      • getClients

        @UnmodifiableView List<Client> getClients​(String name)
        Get the list of the clients with given name
        Parameters:
        name - the client name
        Returns:
        the list of the clients with given name