|
FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
|
Extention of the white pages that enables one to get the list of daemons, the list of agents and the local address of the white pages. More...

Public Member Functions | |
| HashMap< String, AgentAddress > | getDaemons () |
| Function used for testing. | |
| HashMap< String, AgentAddress > | getAgents () |
| Function used for testing. | |
| Public Member Functions inherited from frodo2.controller.WhitePages | |
| WhitePages () | |
| Constructor. | |
| Collection< MessageType > | getMsgTypes () |
| void | notifyIn (Message msg) |
| void | setQueue (Queue queue) |
| void | close () |
| This function needs to be called to make sure that all the sockets are properly closed. | |
| 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.controller.WhitePages | |
| static final MessageType | AGENT_REPORTED = MessageType.SYSTEM.newChild("WhitePages", "Agent-Reported") |
| Message used by white pages to notified the interested that an agent reported itself. | |
| static final MessageType | ALL_AGENTS_KILLED = MessageType.SYSTEM.newChild("WhitePages", "All-Agents-Killed") |
| Message used to tell the configuration Manager that all agents are killed. | |
| static final MessageType | DEAMONS_CONFIG_MSG = MessageType.SYSTEM.newChild("WhitePages", "Daemon-List") |
| The message containing the list of available daemons. | |
| static final MessageType | DEAMONS_LIST = MessageType.SYSTEM.newChild("WhitePages", "Daemon list") |
| Message containing the list of registered daemons for the user interface. | |
| static final MessageType | AGENTS_LIST = MessageType.SYSTEM.newChild("WhitePages", "Agent list") |
| Message containing the list of registered agents for the user interface. | |
| static final MessageType | CONNECT_AGENT = MessageType.SYSTEM.newChild("WhitePages", "Connect-Agent") |
| Message used to tell an agent to connect to its neighbours. | |
| static final MessageType | KILL_AGENTS = MessageType.SYSTEM.newChild("WhitePages", "Kill-Agents") |
| Message to signal to the daemon to kill agents. | |
| static final MessageType | AGENT_ADDRESS = MessageType.SYSTEM.newChild("WhitePages", "Agent-Address") |
| Message send to the local white pages that contains the address of an agent. | |
| Package Attributes inherited from frodo2.controller.WhitePages | |
| HashMap< String, AgentAddress > | daemons |
| The list of available daemons. | |
| HashMap< String, AgentAddress > | agents |
| The list of available agents. | |
| String | localAddress |
| The controllers IP address. | |
Extention of the white pages that enables one to get the list of daemons, the list of agents and the local address of the white pages.
| HashMap< String, AgentAddress > frodo2.controller.TestWhitePages.WhitePagesExtention.getAgents | ( | ) |
Function used for testing.
References frodo2.controller.WhitePages.agents.
| HashMap< String, AgentAddress > frodo2.controller.TestWhitePages.WhitePagesExtention.getDaemons | ( | ) |
Function used for testing.
References frodo2.controller.WhitePages.daemons.