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

A message that an agent sends to its local white pages to report. More...

Inheritance diagram for frodo2.daemon.LocalAgentReport:

Public Member Functions

 LocalAgentReport ()
 Empty constructor used for externalization.
 LocalAgentReport (String agentID, Integer port, QueueIOPipe localPipe)
 Constructor.
String getAgentID ()
Integer getPort ()
QueueIOPipe getLocalPipe ()
Public Member Functions inherited from frodo2.communication.MessageWith3Payloads< T1 extends Serializable, T2 extends Serializable, T3 extends Serializable >
 MessageWith3Payloads ()
 Empty constructor.
void writeExternal (ObjectOutput out) throws IOException
void readExternal (ObjectInput in) throws IOException, ClassNotFoundException
 MessageWith3Payloads (MessageType type, T1 payload1, T2 payload2, T3 payload3)
 Constructor.
MessageWith3Payloads< T1, T2, T3 > clone ()
T1 getPayload1 ()
void setPayload1 (T1 payload1)
T2 getPayload2 ()
void setPayload2 (T2 payload2)
T3 getPayload3 ()
void setPayload3 (T3 payload3)
String toString ()
Public Member Functions inherited from frodo2.communication.Message
 Message (MessageType type)
 Constructor.
 Message ()
 Empty constructor.
MessageType getType ()
void fakeSerialize ()
 Pretends to serialize the message.

Additional Inherited Members

Protected Attributes inherited from frodo2.communication.Message
MessageType type
 The type of this message.

Detailed Description

A message that an agent sends to its local white pages to report.

Author
Thomas Leaute

Constructor & Destructor Documentation

◆ LocalAgentReport() [1/2]

frodo2.daemon.LocalAgentReport.LocalAgentReport ( )

Empty constructor used for externalization.

◆ LocalAgentReport() [2/2]

frodo2.daemon.LocalAgentReport.LocalAgentReport ( String agentID,
Integer port,
QueueIOPipe localPipe )

Constructor.

Parameters
agentIDthe agent's ID
portthe port the agent listens on
localPipethe agent's local I/O pipe

References frodo2.algorithms.AgentInterface< V extends Addable< V > >.LOCAL_AGENT_REPORTING.

Member Function Documentation

◆ getAgentID()

String frodo2.daemon.LocalAgentReport.getAgentID ( )
Returns
the agent's ID

◆ getLocalPipe()

QueueIOPipe frodo2.daemon.LocalAgentReport.getLocalPipe ( )
Returns
the agent's local I/O pipe

◆ getPort()

Integer frodo2.daemon.LocalAgentReport.getPort ( )
Returns
the port the agent listens on

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