Class WaitPacket

  • All Implemented Interfaces:
    Serializable, top.focess.util.serialize.FocessSerializable

    public class WaitPacket
    extends ClientPacket
    Used to create receive-packet time for client and send-packet time for server.
    See Also:
    Serialized Form
    • Constructor Detail

      • WaitPacket

        public WaitPacket​(int clientId,
                          String token)
        Constructs a WaitPacket
        Parameters:
        clientId - the client id
        token - the client token
    • Method Detail

      • getId

        public int getId()
        Description copied from class: Packet
        Get the packet id
        Specified by:
        getId in class Packet
        Returns:
        the packet id