Public Member Functions | |
| RoleMultiple () | |
| RoleMultiple (String name) | |
| void | addListener (AgentId target) |
| void | removeListener (AgentId target) |
| Enumeration | getListeners () |
| String | getName () |
| void | setName (String name) |
| boolean | contains (AgentId id) |
| String | toString () |
sendTo function of the sending agent.The class does not handle duplicates in the list.
Definition at line 37 of file RoleMultiple.java.
| fr.dyade.aaa.agent.RoleMultiple.RoleMultiple | ( | String | name | ) |
Creates a new RoleMultiple with a specified name.
| name | the role name. |
Definition at line 54 of file RoleMultiple.java.
| void fr.dyade.aaa.agent.RoleMultiple.addListener | ( | AgentId | target | ) |
Adds an agent in the listeners list.
Definition at line 61 of file RoleMultiple.java.
Referenced by com.scalagent.scheduler.Scheduler.addConditionListener().
| void fr.dyade.aaa.agent.RoleMultiple.removeListener | ( | AgentId | target | ) |
Removes an agent from the listeners list.
Definition at line 70 of file RoleMultiple.java.
References fr.dyade.aaa.agent.AgentId.equals().
Referenced by com.scalagent.scheduler.Scheduler.removeConditionListener().
Here is the call graph for this function:

| Enumeration fr.dyade.aaa.agent.RoleMultiple.getListeners | ( | ) |
Gets the listeners list as an Enumeration of AgentId objects.
There is no synchronization as we assume this object is manipulated from the enclosing agent reaction.
Definition at line 88 of file RoleMultiple.java.
Referenced by com.scalagent.scheduler.Scheduler.removeConditionListener(), com.scalagent.scheduler.Scheduler.removeItem(), and fr.dyade.aaa.agent.Agent.sendTo().
| String fr.dyade.aaa.agent.RoleMultiple.getName | ( | ) |
Returns the role name.
Definition at line 97 of file RoleMultiple.java.
| void fr.dyade.aaa.agent.RoleMultiple.setName | ( | String | name | ) |
Sets the role name.
| name | the role name. |
Definition at line 105 of file RoleMultiple.java.
| boolean fr.dyade.aaa.agent.RoleMultiple.contains | ( | AgentId | id | ) |
Tests if the specified agent id belongs to role multiple.
| id | the specified agent id. |
Definition at line 116 of file RoleMultiple.java.
| String fr.dyade.aaa.agent.RoleMultiple.toString | ( | ) |
Provides a string image for this object.
Definition at line 125 of file RoleMultiple.java.
1.5.0