org.jboss.messaging.core.remoting.impl
Class Pinger
java.lang.Object
org.jboss.messaging.core.remoting.impl.Pinger
- All Implemented Interfaces:
- java.lang.Runnable, ChannelHandler
public class Pinger
- extends java.lang.Object
- implements java.lang.Runnable, ChannelHandler
A Pinger
- Author:
- Tim Fox
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Pinger
public Pinger(RemotingConnection conn,
long expiryPeriod,
ChannelHandler extraHandler,
java.lang.Runnable connectionFailedAction,
long lastPingReceived)
setFuture
public void setFuture(java.util.concurrent.Future<?> future)
handlePacket
public void handlePacket(Packet packet)
- Specified by:
handlePacket
in interface ChannelHandler
run
public void run()
- Specified by:
run
in interface java.lang.Runnable
close
public void close()
stopPinging
public void stopPinging()
Copyright © 2006 JBoss Inc. All Rights Reserved.