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:
- Runnable, HeartBeat
- Direct Known Subclasses:
- RMIHeartBeat
public abstract class AbstractHeartBeat
- extends Object
- implements HeartBeat, 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,
Map environment)
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 © 2013 The Apache Software Foundation. All Rights Reserved.