Class Summary |
ActiveKeepAlive |
This ActiveKeepAlive repeatedly sends out dummy messages to
see if we get an IOException. |
ActiveKeepAliveWithAYT |
Combines the ActiveKeepAlive and AreYouThere. |
AreYouThere |
If no incoming messages have been received in a while, the remote
application or host may be dead or the connection may have been lost,
so send out an Are-You-There. |
HeartbeatClient |
Sends a "heartbeat" which is echoed by HeartbeatServer,
closing the socket if there is silence for a suspicious time period. |
HeartbeatServer |
Echoes the "heartbeat" which is sent regularly by HeartbeatClient,
closing the socket if there is silence for a suspicious time period. |
IHearYou |
This "Keep-Alive" does not actually do anything for cleaning up the local socket;
rather, it helps the remote Are-You-There protocol by waiting for incoming
Are-You-Theres and responding to them. |
KeepAlive |
A Keep-Alive is an object that participates in a Keep-Alive protocol. |
NullKeepAlive |
This Keep-Alive actually does nothing; it is a placeholder,
a "Null Object" as in the Null Object design pattern. |
PassiveKeepAlive |
Resembles the ActiveKeepAlive in that it sends out dummy messages to see if it gets an IOException, but does not
send out dummy messages periodically; rather, only if no incoming data is forthcoming for a long time
do we test the connection. |
PassiveKeepAliveWithIHY |
Combines PassiveKeepAlive with I-Hear-You responses to incoming Are-You-Theres. |