mx4j.remote
Class AbstractHeartBeat
java.lang.Object
mx4j.remote.AbstractHeartBeat
- HeartBeat, Runnable
public abstract class AbstractHeartBeat
extends java.lang.Object
Base implementation for the HeartBeat interface.
Version:
pulse
protected void pulse()
throws IOException
Subclasses will implement this method using protocol specific connections.
Normally the method javax.management.MBeanServerConnection.getDefaultDomain
is used
to "ping" the server side.
sendConnectionNotificationFailed
protected void sendConnectionNotificationFailed()
Sends the connection failed notification using the emitter specified in
AbstractHeartBeat
start
public void start()
throws IOException
- start in interface HeartBeat
stop
public void stop()
throws IOException
- stop in interface HeartBeat
Copyright © 2001-2003 MX4J Team. All Rights Reserved.