|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.meiglobal.ebds.api.util.CustomTimer
public class CustomTimer
Custom timer class used to detect when a message has failed to be sent.
| Constructor Summary | |
|---|---|
CustomTimer(long timeout)
Constructor |
|
| Method Summary | |
|---|---|
void |
addTimeoutObserver(Timeoutable to)
|
protected void |
fireTimeoutOccured()
|
void |
removeTimeoutObserver(Timeoutable to)
|
void |
run()
|
void |
start()
|
void |
stop()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CustomTimer(long timeout)
throws java.lang.IllegalArgumentException
timeout - Value in milliseconds for the timeout.
java.lang.IllegalArgumentException - If the timeout value is less than 1.| Method Detail |
|---|
public void addTimeoutObserver(Timeoutable to)
public void removeTimeoutObserver(Timeoutable to)
protected final void fireTimeoutOccured()
public void start()
public void stop()
public void run()
run in interface java.lang.Runnable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||