|
FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
|
A daemon with an API to pass the configuration file. More...

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. | |
A daemon with an API to pass the configuration file.
| frodo2.controller.TestController.DaemonExtension.DaemonExtension | ( | ) |
References frodo2.communication.PipeFactory.getSelfAddress(), frodo2.controller.Controller.PipeFactoryInstance, frodo2.controller.Controller.PORT, and frodo2.controller.TestController.testDir.

| boolean frodo2.controller.TestController.DaemonExtension.isFinished | ( | ) |
Reimplemented from frodo2.daemon.Daemon.
| void frodo2.controller.TestController.DaemonExtension.setUp | ( | String | configFileName | ) |
Passes the configuration file to the daemon.
| configFileName | the name of the configuration file |
References frodo2.controller.userIO.UserIO.CONFIGURATION_MSG.