|
FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
|
An extension of the local white pages that is able to return the list of agents. More...

Public Member Functions | |
| LocalWhitePagesExtension (Daemon daemon) | |
| Constructor. | |
| HashMap< String, QueueOutputPipeInterface > | getAgents () |
| Return the set of agents. | |
| Public Member Functions inherited from frodo2.daemon.LocalWhitePages | |
| LocalWhitePages (Daemon daemon) | |
| Constructor to be used when the lwp is a listener for the daemon. | |
| LocalWhitePages (Controller controller) | |
| Constructor to be used when the lwp is a listener for the controller. | |
| Collection< MessageType > | getMsgTypes () |
| void | notifyIn (Message msg) |
| void | setQueue (Queue queue) |
| Public Member Functions inherited from frodo2.communication.IncomingMsgPolicyInterface< T > | |
| default void | notifyIn (Message msg, Object toAgent) |
| Notifies the listener of an incoming message. | |
Additional Inherited Members | |
| Static Public Attributes inherited from frodo2.daemon.LocalWhitePages | |
| static final MessageType | AGENT_ADDRESS_REQUEST = MessageType.SYSTEM.newChild("LocalWhitePages", "Agent-Address-Request") |
| Message used to request to address of a specific agent. | |
| static final String | CONTROLLER_ID = "Controller" |
| The ID of the controller. | |
| static final MessageType | AGENT_OUTPUT_PIPE = MessageType.SYSTEM.newChild("LocalWhitePages", "Agent-Output-Pipe") |
| Send an Output pipe to an agent. | |
| static final MessageType | DIE = MessageType.SYSTEM.newChild("LocalWhitePages", "Die") |
| Message send to agent to kill it. | |
| static final MessageType | AGENTS_KILLED = MessageType.SYSTEM.newChild("LocalWhitePages", "Agents-killed") |
| Message send when an agent is killed by the daemon. | |
| Package Attributes inherited from frodo2.daemon.LocalWhitePages | |
| HashMap< String, QueueOutputPipeInterface > | externalAgents |
| Each agent has its own QueueIOPipe for JVM-internal messages. | |
| HashSet< String > | localAgents |
| A set of local agent IDs. | |
| boolean | global |
| global is true if the experiments run on one machine | |
An extension of the local white pages that is able to return the list of agents.
| frodo2.daemon.TestLocalWhitePages.LocalWhitePagesExtension.LocalWhitePagesExtension | ( | Daemon | daemon | ) |
| HashMap< String, QueueOutputPipeInterface > frodo2.daemon.TestLocalWhitePages.LocalWhitePagesExtension.getAgents | ( | ) |
Return the set of agents.
References frodo2.daemon.LocalWhitePages.externalAgents.