summaryrefslogtreecommitdiff
path: root/NET/worlds/console/VCTimerThread.java
blob: 8c0a3f52c051df93ede35e975011cbe832b9b454 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package NET.worlds.console;

class VCTimerThread extends Thread {
   private long _wait;
   public VoiceChat _vc;

   VCTimerThread(VoiceChat vc, long wait) {
      this._vc = vc;
      this._wait = wait;
   }

   @Override
   public void run() {
      try {
         Thread.sleep(this._wait);
      } catch (InterruptedException var2) {
         this.stop();
      }

      if (this._vc != null) {
         this._vc.checkConnected();
      }
   }
}