|
ePOST API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object rice.selector.TimerTask rice.pastry.socket.SocketCollectionManager.DeadChecker
protected class SocketCollectionManager.DeadChecker
DESCRIBE THE CLASS
Field Summary | |
---|---|
protected int |
numTries
|
protected SourceRoute |
path
|
protected int |
tries
|
Fields inherited from class rice.selector.TimerTask |
---|
cancelled, fixedRate, nextExecutionTime, period |
Constructor Summary | |
---|---|
SocketCollectionManager.DeadChecker(SourceRoute path,
int numTries)
Constructor for DeadChecker. |
Method Summary | |
---|---|
boolean |
cancel()
|
void |
pingResponse(SourceRoute path,
long RTT,
long timeHeardFrom)
DESCRIBE THE METHOD |
void |
run()
Main processing method for the DeadChecker object |
Methods inherited from class rice.selector.TimerTask |
---|
compareTo, execute, isCancelled, scheduledExecutionTime |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected int tries
protected int numTries
protected SourceRoute path
Constructor Detail |
---|
public SocketCollectionManager.DeadChecker(SourceRoute path, int numTries)
address
- DESCRIBE THE PARAMETERnumTries
- DESCRIBE THE PARAMETERmgr
- DESCRIBE THE PARAMETERMethod Detail |
---|
public void pingResponse(SourceRoute path, long RTT, long timeHeardFrom)
pingResponse
in interface PingResponseListener
address
- DESCRIBE THE PARAMETERRTT
- DESCRIBE THE PARAMETERtimeHeardFrom
- DESCRIBE THE PARAMETERpublic void run()
run
in interface CancellableTask
run
in class TimerTask
public boolean cancel()
cancel
in interface CancellableTask
cancel
in class TimerTask
|
ePOST API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |