Package host.anzo.simon
Class PingWatchdog
java.lang.Object
host.anzo.simon.PingWatchdog
A class that observes all ping-requests and closes session if ping echo isn't returned within a specified timeframe
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidnotifyPongReceived(org.apache.mina.core.session.IoSession session) protected voidwaitForPong(org.apache.mina.core.session.IoSession session)
-
Constructor Details
-
PingWatchdog
-
-
Method Details
-
waitForPong
protected void waitForPong(org.apache.mina.core.session.IoSession session) -
notifyPongReceived
protected void notifyPongReceived(org.apache.mina.core.session.IoSession session)
-