org.objectweb.joram.client.jms.connection
Class RequestMultiplexer.HeartBeatTask

java.lang.Object
  extended by java.util.TimerTask
      extended by org.objectweb.joram.client.jms.connection.RequestMultiplexer.HeartBeatTask
All Implemented Interfaces:
java.lang.Runnable
Enclosing class:
RequestMultiplexer

private class RequestMultiplexer.HeartBeatTask
extends java.util.TimerTask

Timer task responsible for sending a ping message to the server if no request has been sent during the specified timeout ('cnxPendingTimer' from the factory parameters).


Field Summary
private  long heartBeat
           
 
Constructor Summary
RequestMultiplexer.HeartBeatTask(long heartBeat)
           
 
Method Summary
 void run()
           
 void start()
           
 
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
 

Field Detail

heartBeat

private long heartBeat
Constructor Detail

RequestMultiplexer.HeartBeatTask

RequestMultiplexer.HeartBeatTask(long heartBeat)
Method Detail

run

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

start

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


Copyright © 2010 ScalAgent D.T.. All Rights Reserved.