edu.nyu.cs.pdsg.switchboard.liveness
Class SbLivenessLayer.LivenessTimer

java.lang.Object
  extended byjava.lang.Thread
      extended byedu.nyu.cs.pdsg.switchboard.liveness.SbLivenessLayer.LivenessTimer
All Implemented Interfaces:
java.lang.Runnable
Enclosing class:
SbLivenessLayer

class SbLivenessLayer.LivenessTimer
extends java.lang.Thread


Field Summary
(package private)  boolean killed
           
(package private)  SbLivenessLayer l
           
(package private)  boolean pending
           
(package private)  long timeLastRun
           
(package private)  long when
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
(package private) SbLivenessLayer.LivenessTimer(SbLivenessLayer _l)
           
 
Method Summary
 void cancel()
           
 void kill()
           
 void run()
           
 void schedule(long _when)
           
private  boolean shouldRun(long now)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

killed

boolean killed

when

long when

timeLastRun

long timeLastRun

pending

boolean pending

l

SbLivenessLayer l
Constructor Detail

SbLivenessLayer.LivenessTimer

SbLivenessLayer.LivenessTimer(SbLivenessLayer _l)
Method Detail

toString

public java.lang.String toString()

kill

public void kill()

cancel

public void cancel()

schedule

public void schedule(long _when)

shouldRun

private boolean shouldRun(long now)

run

public void run()


Copyright (c) 2002-2003 New York University RLAB