org.jboss.remoting
Class LeasePinger

java.lang.Object
  extended byorg.jboss.util.TimerTask
      extended byorg.jboss.remoting.LeasePinger
All Implemented Interfaces:
java.lang.Comparable, org.jboss.util.Executable

public class LeasePinger
extends org.jboss.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 execute()
           
 void startPing(long leaseTimeout)
           
 void stopPing()
           
 
Methods inherited from class org.jboss.util.TimerTask
cancel, compareTo, getPeriod
 
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()

execute

public void execute()
             throws java.lang.Exception
Throws:
java.lang.Exception


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