|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--java.lang.Thread
|
+--keepalive.keepalive.KeepAlive
|
+--keepalive.keepalive.ActiveKeepAliveWithAYT
Combines the ActiveKeepAlive and AreYouThere. Used with PassiveKeepAliveWithAYT Serves as an example of combining Keep-Alive protocols, as will usually happen in real programs.
ActiveKeepAlive,
AreYouThere,
PassiveKeepAliveWithIHY| Fields inherited from class keepalive.keepalive.KeepAlive |
ARE_YOU_THERE, endRequested, I_HEAR_YOU, TIME_BETWEEN_ACTIVE_PROBES |
| Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
ActiveKeepAliveWithAYT()
Create a Keep-Alive object. |
|
ActiveKeepAliveWithAYT(Receiver receiver,
Sender sender)
Create a Keep-Alive object. |
|
| Method Summary | |
void |
run()
Require the subclasses to implement run(), to prevent them from using the run() method in class Thread with a null body. |
| Methods inherited from class keepalive.keepalive.KeepAlive |
end, endRequested, getDummyString, getReceiver, getSender, getSilentTimeForIncoming, setReceiver, setSender |
| Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ActiveKeepAliveWithAYT(Receiver receiver,
Sender sender)
public ActiveKeepAliveWithAYT()
| Method Detail |
public void run()
KeepAliverun in class KeepAlive
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||