mx4j.remote.rmi

Class RMIHeartBeat

Implemented Interfaces:
HeartBeat, Runnable

public class RMIHeartBeat
extends AbstractHeartBeat

Version:
$Revision: 1.3 $

Constructor Summary

RMIHeartBeat(javax.management.remote.rmi.RMIConnection connection, ConnectionNotificationEmitter emitter, Map environment)

Method Summary

protected void
pulse()
Subclasses will implement this method using protocol specific connections.

Methods inherited from class mx4j.remote.AbstractHeartBeat

getMaxRetries, getPulsePeriod, pulse, run, sendConnectionNotificationFailed, start, stop

Constructor Details

RMIHeartBeat

public RMIHeartBeat(javax.management.remote.rmi.RMIConnection connection,
                    ConnectionNotificationEmitter emitter,
                    Map environment)

Method Details

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.
Overrides:
pulse in interface AbstractHeartBeat

Copyright © 2001-2005 The MX4J Contributors. All Rights Reserved.