com.scalagent.scheduler.monitor.MonitorParent Interface Reference

Inherited by com.scalagent.scheduler.monitor.MonitorAgent.

Inheritance diagram for com.scalagent.scheduler.monitor.MonitorParent:

Inheritance graph
[legend]
List of all members.

Public Member Functions

void childReport (Monitor child, int status) throws Exception
void sendTo (CommandMonitor monitor, AgentId to, IndexedCommand command) throws Exception

Detailed Description

Interface which a Monitor's parent satisfies.

See also:
Monitor

Definition at line 33 of file MonitorParent.java.


Member Function Documentation

void com.scalagent.scheduler.monitor.MonitorParent.childReport ( Monitor  child,
int  status 
) throws Exception

Reacts to a status change from child.

Parameters:
child child changing status
status new child status

Implemented in com.scalagent.scheduler.monitor.MonitorAgent.

Referenced by com.scalagent.scheduler.monitor.ObjectMonitor.setStatus().

void com.scalagent.scheduler.monitor.MonitorParent.sendTo ( CommandMonitor  monitor,
AgentId  to,
IndexedCommand  command 
) throws Exception

Allows a enclosed CommandMonitor object to send an IndexedCommand. Registers the object so that it can be forwarded the IndexedReport to.

Parameters:
monitor object sending the command
to agent target of command
command command to send

Implemented in com.scalagent.scheduler.monitor.MonitorAgent.

Referenced by com.scalagent.scheduler.monitor.ObjectMonitor.sendTo().


The documentation for this interface was generated from the following file:
Generated on Tue Sep 16 16:15:51 2008 for joram by  doxygen 1.5.0