|
FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
|

Public Member Functions | |
| MessageAgentReporting (MessageType type, String ID, AgentAddress address) | |
| A constructor. | |
| MessageAgentReporting () | |
| Empty constructor used for externalization. | |
| void | writeExternal (ObjectOutput out) throws IOException |
| void | readExternal (ObjectInput in) throws IOException, ClassNotFoundException |
| String | getID () |
| get the ID of the agent | |
| AgentAddress | getAddress () |
| get the IP of the agent | |
| Public Member Functions inherited from frodo2.communication.Message | |
| Message (MessageType type) | |
| Constructor. | |
| Message () | |
| Empty constructor. | |
| MessageType | getType () |
| String | toString () |
| void | fakeSerialize () |
| Pretends to serialize the message. | |
Static Public Attributes | |
| static final MessageType | AGENT_REPORTING = MessageType.SYSTEM.newChild("MessageAgentReporting", "Agent-Reporting") |
| The type of the message used by an agent to report to the white pages. | |
| static final MessageType | DEAMON_REPORTING = MessageType.SYSTEM.newChild("MessageAgentReporting", "Daemon-Reporting") |
| The type of the message used by an daemon to report to the white pages. | |
Private Attributes | |
| String | ID |
| The ID of the agent. | |
| AgentAddress | address |
| The address of the agent. | |
Additional Inherited Members | |
| Protected Attributes inherited from frodo2.communication.Message | |
| MessageType | type |
| The type of this message. | |
This message contains three strings
| frodo2.controller.messages.MessageAgentReporting.MessageAgentReporting | ( | MessageType | type, |
| String | ID, | ||
| AgentAddress | address ) |
A constructor.
| type | the message type |
| ID | the ID of the agent |
| address | the address of the agent |
References address, ID, and frodo2.communication.Message.type.
| frodo2.controller.messages.MessageAgentReporting.MessageAgentReporting | ( | ) |
Empty constructor used for externalization.
| AgentAddress frodo2.controller.messages.MessageAgentReporting.getAddress | ( | ) |
| String frodo2.controller.messages.MessageAgentReporting.getID | ( | ) |
| void frodo2.controller.messages.MessageAgentReporting.readExternal | ( | ObjectInput | in | ) | throws IOException, ClassNotFoundException |
Reimplemented from frodo2.communication.Message.
| void frodo2.controller.messages.MessageAgentReporting.writeExternal | ( | ObjectOutput | out | ) | throws IOException |
Reimplemented from frodo2.communication.Message.
|
private |
The address of the agent.
Referenced by getAddress(), and MessageAgentReporting().
|
static |
The type of the message used by an agent to report to the white pages.
Referenced by frodo2.daemon.TestLocalWhitePages.SimpleAgent.agentReportGlobal(), frodo2.controller.TestConfigurationManager.SimpleDaemonListener.notifyIn(), frodo2.controller.WhitePages.notifyIn(), frodo2.controller.TestWhitePages.testAgentReporting(), frodo2.controller.TestWhitePages.testKillAllAgents(), and frodo2.controller.WhitePages.WhitePages().
|
static |
The type of the message used by an daemon to report to the white pages.
Referenced by frodo2.daemon.userIO.UserIO.registerController(), frodo2.daemon.Daemon.registerDaemon(), frodo2.controller.TestWhitePages.testDaemonReporting(), frodo2.controller.TestWhitePages.testKillAllAgents(), frodo2.daemon.TestLocalWhitePages.testLocalAgentAddressRequestUnknown(), frodo2.controller.TestConfigurationManager.testStartExperiment(), and frodo2.controller.WhitePages.WhitePages().
|
private |
The ID of the agent.
Referenced by getID(), and MessageAgentReporting().