org.jboss.messaging.core.ping.impl
Class PingerImpl

java.lang.Object
  extended by org.jboss.messaging.core.ping.impl.PingerImpl
All Implemented Interfaces:
java.lang.Runnable, Pinger

public class PingerImpl
extends java.lang.Object
implements Pinger

A PingerImpl.Pings the Client or SErver and waits for the KeepAliveTimeout for a response. If none occurs clean up is carried out.

Author:
Tim Fox, Andy Taylor

Constructor Summary
PingerImpl(PacketDispatcher dispatcher, NIOSession session, long pongTimeout, CleanUpNotifier failureHandler)
           
 
Method Summary
 void close()
           
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PingerImpl

public PingerImpl(PacketDispatcher dispatcher,
                  NIOSession session,
                  long pongTimeout,
                  CleanUpNotifier failureHandler)
Method Detail

close

public void close()
Specified by:
close in interface Pinger

run

public void run()
Specified by:
run in interface java.lang.Runnable


Copyright © 2006 JBoss Inc. All Rights Reserved.