com.fatwire.agent
Class HeartbeatInfo

java.lang.Object
  extended by com.fatwire.agent.HeartbeatInfo

public class HeartbeatInfo
extends java.lang.Object

Heartbeat information block.

Heartbeat messages are used by some content providers to notify them that Agent is up and running or that Agent is about to shut down. When the heartbeat response from the content provider is received it can contain the set of events occured, e.g. the previously published repository was deleted. In this case the synchronization process for this repository should be stopped and the corresponding publication entries should be removed from catalog.xml file. The orchestration of heartbeat messages is centrally managed by the Agent runtime system.


Constructor Summary
HeartbeatInfo(HeartbeatState state)
          Constructs a new hearbeat message.
 
Method Summary
 HeartbeatState getState()
          Gets heartbeat state.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HeartbeatInfo

public HeartbeatInfo(HeartbeatState state)
Constructs a new hearbeat message.

Parameters:
state - heartbeat state.
Method Detail

getState

public HeartbeatState getState()
Gets heartbeat state.

Returns:
heartbeat state