Class FocessUDPReceiver

    • Constructor Detail

      • FocessUDPReceiver

        public FocessUDPReceiver​(FocessUDPSocket focessUDPSocket)
    • Method Detail

      • close

        public void close()
        Description copied from interface: Receiver
        Close the receiver.
      • onHeart

        public void onHeart​(HeartPacket packet)
      • sendPacket

        public void sendPacket​(String client,
                               Packet packet)
        Description copied from interface: ServerReceiver
        Send packet to the special client
        Parameters:
        client - the client name
        packet - the packet