org.objectweb.joram.mom.dest.MonitoringTopic Class Reference

Inherits org.objectweb.joram.mom.dest.Topic.

Inheritance diagram for org.objectweb.joram.mom.dest.MonitoringTopic:

Inheritance graph
[legend]
Collaboration diagram for org.objectweb.joram.mom.dest.MonitoringTopic:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 MonitoringTopic ()
void react (AgentId from, Notification not) throws Exception
DestinationImpl createsImpl (AgentId adminId, Properties prop)

Static Public Member Functions

static void init (String args, boolean firstTime) throws Exception

Protected Member Functions

void agentInitialize (boolean firstTime) throws Exception

Detailed Description

Agent of the monitoring topic. Schedules the monitoring.

Definition at line 39 of file MonitoringTopic.java.


Constructor & Destructor Documentation

org.objectweb.joram.mom.dest.MonitoringTopic.MonitoringTopic (  ) 

Empty constructor for newInstance().

Definition at line 49 of file MonitoringTopic.java.

Referenced by org.objectweb.joram.mom.dest.MonitoringTopic.init().


Member Function Documentation

void org.objectweb.joram.mom.dest.MonitoringTopic.agentInitialize ( boolean  firstTime  )  throws Exception [protected]

Gives this agent an opportunity to initialize after having been deployed, and each time it is loaded into memory.

Parameters:
firstTime true when first called by the factory
Exceptions:
Exception unspecialized exception

Reimplemented from org.objectweb.joram.mom.dest.Destination.

Definition at line 67 of file MonitoringTopic.java.

References org.objectweb.joram.mom.dest.Destination.destImpl, fr.dyade.aaa.agent.Agent.getId(), and fr.dyade.aaa.agent.WakeUpTask.schedule().

Here is the call graph for this function:

void org.objectweb.joram.mom.dest.MonitoringTopic.react ( AgentId  from,
Notification  not 
) throws Exception

Distributes the received notifications to the appropriate reactions.

Exceptions:
Exception 

Reimplemented from org.objectweb.joram.mom.dest.Topic.

Definition at line 73 of file MonitoringTopic.java.

References org.objectweb.joram.mom.dest.Destination.destImpl, fr.dyade.aaa.agent.Agent.getId(), org.objectweb.joram.mom.dest.Destination.logger, and fr.dyade.aaa.agent.WakeUpTask.schedule().

Here is the call graph for this function:

DestinationImpl org.objectweb.joram.mom.dest.MonitoringTopic.createsImpl ( AgentId  adminId,
Properties  prop 
) [virtual]

Creates the TopicImpl.

Parameters:
adminId Identifier of the topic administrator.
prop The initial set of properties.

Reimplemented from org.objectweb.joram.mom.dest.Topic.

Definition at line 85 of file MonitoringTopic.java.

References org.objectweb.joram.mom.dest.Destination.logger.


The documentation for this class was generated from the following file:
Generated on Tue Sep 16 16:19:36 2008 for joram by  doxygen 1.5.0