org.jboss.remoting
Class LeasePinger

java.lang.Object
  extended byjava.util.TimerTask
      extended byorg.jboss.remoting.LeasePinger
All Implemented Interfaces:
java.lang.Runnable

public class LeasePinger
extends java.util.TimerTask

Internal agent class to ping the remote server to keep lease alive.

Author:
Tom Elrod

Constructor Summary
LeasePinger(Client remotingClient)
           
 
Method Summary
 void run()
           
 void startPing(long leaseTimeout)
           
 void stopPing()
           
 
Methods inherited from class java.util.TimerTask
cancel, scheduledExecutionTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LeasePinger

public LeasePinger(Client remotingClient)
Method Detail

startPing

public void startPing(long leaseTimeout)

stopPing

public void stopPing()

run

public void run()


Copyright © 1998-2005 JBoss Inc . All Rights Reserved.