FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
Loading...
Searching...
No Matches
frodo2.controller.TestWhitePages.WhitePagesExtention Class Reference

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...

Inheritance diagram for frodo2.controller.TestWhitePages.WhitePagesExtention:

Public Member Functions

HashMap< String, AgentAddressgetDaemons ()
 Function used for testing.
HashMap< String, AgentAddressgetAgents ()
 Function used for testing.
Public Member Functions inherited from frodo2.controller.WhitePages
 WhitePages ()
 Constructor.
Collection< MessageTypegetMsgTypes ()
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, AgentAddressdaemons
 The list of available daemons.
HashMap< String, AgentAddressagents
 The list of available agents.
String localAddress
 The controllers IP address.

Detailed Description

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.

Author
brammertottens

Member Function Documentation

◆ getAgents()

HashMap< String, AgentAddress > frodo2.controller.TestWhitePages.WhitePagesExtention.getAgents ( )

Function used for testing.

Returns
agents list of agents

References frodo2.controller.WhitePages.agents.

◆ getDaemons()

HashMap< String, AgentAddress > frodo2.controller.TestWhitePages.WhitePagesExtention.getDaemons ( )

Function used for testing.

Returns
daemons list of daemons

References frodo2.controller.WhitePages.daemons.


The documentation for this class was generated from the following file: