org.jboss.jmx.adaptor.snmp.agent
Class Heartbeat

java.lang.Object
  extended byorg.jboss.jmx.adaptor.snmp.agent.Heartbeat

public class Heartbeat
extends java.lang.Object

Heartbeat auxiliary class implementing agent heartbeat schedulling and emission setup


Field Summary
static java.lang.String NOTIFICATION_MSG
          The notification message field
 
Constructor Summary
Heartbeat(MBeanServer (src)  agent, ObjectName (src)  timer, long interval)
          CTOR
 
Method Summary
 void start()
          Setup the production of heart-beat notifications
 void stop()
          Disable heartbeat
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NOTIFICATION_MSG

public static final java.lang.String NOTIFICATION_MSG
The notification message field

See Also:
Constant Field Values (src)
Constructor Detail

Heartbeat

public Heartbeat(MBeanServer (src)  agent,
                 ObjectName (src)  timer,
                 long interval)
CTOR

Method Detail

start

public void start()
           throws java.lang.Exception
Setup the production of heart-beat notifications

Throws:
java.lang.Exception

stop

public void stop()
          throws java.lang.Exception
Disable heartbeat

Throws:
java.lang.Exception