Class PingWatchdog

java.lang.Object
host.anzo.simon.PingWatchdog

public class PingWatchdog extends Object
A class that observes all ping-requests and closes session if ping echo isn't returned within a specified timeframe
  • Constructor Details

    • PingWatchdog

      protected PingWatchdog(Dispatcher dispatcher)
  • Method Details

    • waitForPong

      protected void waitForPong(org.apache.mina.core.session.IoSession session)
    • notifyPongReceived

      protected void notifyPongReceived(org.apache.mina.core.session.IoSession session)