com.scalagent.scheduler.util.Client Class Reference

Inherits fr.dyade.aaa.agent.Agent.

Inheritance diagram for com.scalagent.scheduler.util.Client:

Inheritance graph
[legend]
Collaboration diagram for com.scalagent.scheduler.util.Client:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Client (short to, String name, String condition, String frequency)
 Client (short to, String name)
void setSchedulerCondition (String schedulerCondition)
void setFrequency (String frequency)

Protected Member Functions

void agentInitialize (boolean firstTime) throws Exception

Detailed Description

This class enables a Client agent to program the Scheduler with a scheduling event date described by a cron like string The configurator proceeds to the programming of the scheduler when the agent is deployed assuming that there is only one default scheduler in the agent server.
Should be in SchedulingCondition.

See also:
Scheduler

CronEvent

Condition

Definition at line 41 of file Client.java.


Constructor & Destructor Documentation

com.scalagent.scheduler.util.Client.Client ( short  to,
String  name,
String  condition,
String  frequency 
)

Creates an agent to be configured.

Parameters:
to target agent server
name symbolic name of this agent

Definition at line 57 of file Client.java.

References com.scalagent.scheduler.util.Client.setFrequency(), and com.scalagent.scheduler.util.Client.setSchedulerCondition().

Here is the call graph for this function:

com.scalagent.scheduler.util.Client.Client ( short  to,
String  name 
)

Constructor invoked by the configurator at deployment stage.

Definition at line 66 of file Client.java.


Member Function Documentation

void com.scalagent.scheduler.util.Client.agentInitialize ( boolean  firstTime  )  throws Exception [protected]

Initializes the Client. Creates a CronEvent</cod> and send it to the default scheduler

Parameters:
firstTime true when agent server starts a new Client

Reimplemented from fr.dyade.aaa.agent.Agent.

Definition at line 76 of file Client.java.

References fr.dyade.aaa.agent.Agent.sendTo().

Here is the call graph for this function:

void com.scalagent.scheduler.util.Client.setSchedulerCondition ( String  schedulerCondition  ) 

Property accessor.

Parameters:
condition condition the scheduler must send

Definition at line 90 of file Client.java.

Referenced by com.scalagent.scheduler.util.Client.Client().

void com.scalagent.scheduler.util.Client.setFrequency ( String  frequency  ) 

Property accessor.

Parameters:
frequency cron like string to determine the next scheduled date

Definition at line 100 of file Client.java.

Referenced by com.scalagent.scheduler.util.Client.Client().


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