org.apache.felix.mosgi.jmx.rmiconnector.mx4j.remote
Class AbstractHeartBeat
java.lang.Object
org.apache.felix.mosgi.jmx.rmiconnector.mx4j.remote.AbstractHeartBeat
- All Implemented Interfaces:
- java.lang.Runnable, HeartBeat
- Direct Known Subclasses:
- RMIHeartBeat
public abstract class AbstractHeartBeat
- extends java.lang.Object
- implements HeartBeat, java.lang.Runnable
- Version:
- $Revision: 1.1.1.1 $
- Author:
- Simone Bordet
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractHeartBeat
protected AbstractHeartBeat(ConnectionNotificationEmitter emitter,
java.util.Map environment)
pulse
protected abstract void pulse()
throws java.io.IOException
- Throws:
java.io.IOException
start
public void start()
throws java.io.IOException
- Specified by:
start
in interface HeartBeat
- Throws:
java.io.IOException
stop
public void stop()
throws java.io.IOException
- Specified by:
stop
in interface HeartBeat
- Throws:
java.io.IOException
run
public void run()
- Specified by:
run
in interface java.lang.Runnable
sendConnectionNotificationFailed
protected void sendConnectionNotificationFailed()