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

A daemon with an API to pass the configuration file. More...

Inheritance diagram for frodo2.controller.TestController.DaemonExtension:

Public Member Functions

 DaemonExtension ()
 Constructor.
void setUp (String configFileName)
 Passes the configuration file to the daemon.
boolean isFinished ()
Public Member Functions inherited from frodo2.daemon.Daemon
 Daemon (boolean useUI)
 The constructor.
 Daemon (boolean useUI, int port)
 The constructor.
 Daemon (boolean useUI, int port, String workDir)
 The constructor.
 Daemon (AgentAddress controllerAddress, boolean useUI)
 A constructor that tells the daemon the controller's address.
 Daemon (AgentAddress controllerAddress, boolean useUI, String workDir)
 A constructor that tells the daemon the controller's address.
 Daemon (AgentAddress controllerAddress, boolean useUI, int port)
 A constructor that tells the daemon the controller's address.
 Daemon (AgentAddress controllerAddress, boolean useUI, int port, String workDir)
 A constructor that tells the daemon the controller's address.
int getPort ()
Collection< String > getAgents ()
 get the list of agents running under this daemon
void addAgent (String ID, AgentInterface<?> agent)
 Add an agent to the list of agents.
void addOutputPipe (String fromID, String toID, QueueOutputPipeInterface pipe)
 Add agent toID's input pipe as an output pipe to agent fromID's queue.
void registerDaemon ()
 Register the daemon to the controller.
QueueIOPipe getInput ()
 Getter for the Daemons internal input pipe.
void clearAgents ()
 Delete the pointers to all agents that are running.
void exit (boolean quit)
 Exit the daemon.

Additional Inherited Members

Static Public Member Functions inherited from frodo2.daemon.Daemon
static void main (String[] args)
Public Attributes inherited from frodo2.daemon.Daemon
String daemonId
 The daemons local Id.
AgentAddress daemonAddress
 The daemon address.
Static Public Attributes inherited from frodo2.daemon.Daemon
static final String DAEMON = "frodo2.daemon.Daemon"
 The id of the daemon.
Protected Attributes inherited from frodo2.daemon.Daemon
Queue daemonQueue
 The daemons queue.

Detailed Description

A daemon with an API to pass the configuration file.

Author
Thomas Leaute

Constructor & Destructor Documentation

◆ DaemonExtension()

frodo2.controller.TestController.DaemonExtension.DaemonExtension ( )

Member Function Documentation

◆ isFinished()

boolean frodo2.controller.TestController.DaemonExtension.isFinished ( )
Returns
whether the daemon is finished

Reimplemented from frodo2.daemon.Daemon.

◆ setUp()

void frodo2.controller.TestController.DaemonExtension.setUp ( String configFileName)

Passes the configuration file to the daemon.

Parameters
configFileNamethe name of the configuration file

References frodo2.controller.userIO.UserIO.CONFIGURATION_MSG.


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