com.acap.rudp.core
Class StatefulRunnable

java.lang.Object
  extended by com.acap.rudp.core.StatefulRunnable
All Implemented Interfaces:
java.lang.Runnable
Direct Known Subclasses:
BaseUDPSessionManager

public abstract class StatefulRunnable
extends java.lang.Object
implements java.lang.Runnable


Constructor Summary
StatefulRunnable(int milliseconds)
           
 
Method Summary
 boolean isStarted()
           
 void run()
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatefulRunnable

public StatefulRunnable(int milliseconds)
Method Detail

isStarted

public boolean isStarted()

stop

public void stop()

start

public void start()
           throws java.lang.Exception
Throws:
java.lang.Exception

run

public void run()
Specified by:
run in interface java.lang.Runnable