Class LockWatcher

java.lang.Object
java.lang.Thread
VASSAL.chat.node.LockWatcher
All Implemented Interfaces:
Runnable

public class LockWatcher extends Thread
Watches for thread lock on a server. Kills the runtime if unable to establish new connection
  • Constructor Details

    • LockWatcher

      public LockWatcher(long delay, long timeout, int port)
      Parameters:
      delay - Time in milliseconds between connection attempts
      timeout - Wait time in milliseconds to establish a new connection before terminating
  • Method Details

    • run

      public void run()
      Specified by:
      run in interface Runnable
      Overrides:
      run in class Thread