org.apache.felix.mosgi.jmx.rmiconnector.mx4j.remote
Class AbstractHeartBeat

java.lang.Object
  extended by org.apache.felix.mosgi.jmx.rmiconnector.mx4j.remote.AbstractHeartBeat
All Implemented Interfaces:
Runnable, HeartBeat
Direct Known Subclasses:
RMIHeartBeat

public abstract class AbstractHeartBeat
extends Object
implements HeartBeat, Runnable

Version:
$Revision: 1.1.1.1 $
Author:
Simone Bordet

Constructor Summary
protected AbstractHeartBeat(ConnectionNotificationEmitter emitter, Map environment)
           
 
Method Summary
protected abstract  void pulse()
           
 void run()
           
protected  void sendConnectionNotificationFailed()
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractHeartBeat

protected AbstractHeartBeat(ConnectionNotificationEmitter emitter,
                            Map environment)
Method Detail

pulse

protected abstract void pulse()
                       throws IOException
Throws:
IOException

start

public void start()
           throws IOException
Specified by:
start in interface HeartBeat
Throws:
IOException

stop

public void stop()
          throws IOException
Specified by:
stop in interface HeartBeat
Throws:
IOException

run

public void run()
Specified by:
run in interface Runnable

sendConnectionNotificationFailed

protected void sendConnectionNotificationFailed()


Copyright © 2011 Apache Software Foundation. All Rights Reserved.