FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
Loading...
Searching...
No Matches
frodo2.daemon.TestLocalWhitePages.LocalWhitePagesExtension Class Reference

An extension of the local white pages that is able to return the list of agents. More...

Inheritance diagram for frodo2.daemon.TestLocalWhitePages.LocalWhitePagesExtension:

Public Member Functions

 LocalWhitePagesExtension (Daemon daemon)
 Constructor.
HashMap< String, QueueOutputPipeInterfacegetAgents ()
 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< MessageTypegetMsgTypes ()
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, QueueOutputPipeInterfaceexternalAgents
 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

Detailed Description

An extension of the local white pages that is able to return the list of agents.

Constructor & Destructor Documentation

◆ LocalWhitePagesExtension()

frodo2.daemon.TestLocalWhitePages.LocalWhitePagesExtension.LocalWhitePagesExtension ( Daemon daemon)

Constructor.

Parameters
daemonthe daemon

References frodo2.daemon.LocalWhitePages.daemon.

Member Function Documentation

◆ getAgents()

HashMap< String, QueueOutputPipeInterface > frodo2.daemon.TestLocalWhitePages.LocalWhitePagesExtension.getAgents ( )

Return the set of agents.

Returns
HashMap<String, QueueOutputPipeTCP>

References frodo2.daemon.LocalWhitePages.externalAgents.


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