Class FocessReceiver

    • Constructor Detail

      • FocessReceiver

        public FocessReceiver​(FocessSocket focessSocket)
    • Method Detail

      • 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
      • close

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