mx.udlap.kjProtocol.kbinds
Class HeartBeating

java.lang.Object
  extended bymx.udlap.kjProtocol.kbinds.HeartBeating
All Implemented Interfaces:
java.lang.Runnable

public class HeartBeating
extends java.lang.Object
implements java.lang.Runnable

Heart Beating Operations

Author:
Oscar Medina Duarte

Constructor Summary
HeartBeating(KannelBinding kbind, long rate)
          Constructor for the HeartBeating object
 
Method Summary
 void run()
          Run method
 void stop()
          Tell this heart beat to stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HeartBeating

public HeartBeating(KannelBinding kbind,
                    long rate)
Constructor for the HeartBeating object

Parameters:
kbind - This is where to send Heart beatings
rate - rate frecuency in milliseconds
Method Detail

run

public void run()
Run method

Specified by:
run in interface java.lang.Runnable

stop

public void stop()
Tell this heart beat to stop