|
FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
|
Message class used for the output of the protocol. More...

Public Member Functions | |
| MessageLEoutput () | |
| Empty constructor used for externalization. | |
| MessageLEoutput (String sender, boolean isLeader, T leader) | |
| Constructor. | |
| String | getSender () |
| Boolean | getFlag () |
| T | getLeader () |
| String | toString () |
| 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) |
| Public Member Functions inherited from frodo2.communication.Message | |
| Message (MessageType type) | |
| Constructor. | |
| Message () | |
| Empty constructor. | |
| MessageType | getType () |
| void | fakeSerialize () |
| Pretends to serialize the message. | |
Protected Member Functions | |
| MessageLEoutput (MessageType type, String sender, boolean isLeader, T leader) | |
| Constructor. | |
Additional Inherited Members | |
| Protected Attributes inherited from frodo2.communication.Message | |
| MessageType | type |
| The type of this message. | |
Message class used for the output of the protocol.
| <T> | the type used to identify the leader |
| frodo2.algorithms.varOrdering.election.LeaderElectionMaxID< T extends Comparable< T > &Serializable >.MessageLEoutput< T extends Comparable< T > &Serializable >.MessageLEoutput | ( | ) |
Empty constructor used for externalization.
| frodo2.algorithms.varOrdering.election.LeaderElectionMaxID< T extends Comparable< T > &Serializable >.MessageLEoutput< T extends Comparable< T > &Serializable >.MessageLEoutput | ( | String | sender, |
| boolean | isLeader, | ||
| T | leader ) |
Constructor.
| sender | the sender of the message |
| isLeader | whether the agent is the leader |
| leader | the leader |
|
protected |
Constructor.
| type | the type of the message |
| sender | the sender of the message |
| isLeader | whether the agent is the leader |
| leader | the leader |
References frodo2.communication.Message.type.
| Boolean frodo2.algorithms.varOrdering.election.LeaderElectionMaxID< T extends Comparable< T > &Serializable >.MessageLEoutput< T extends Comparable< T > &Serializable >.getFlag | ( | ) |
Referenced by frodo2.algorithms.varOrdering.election.tests.LeaderElectionMaxIDTest< S extends Comparable< S > >.checkOutputs(), frodo2.algorithms.varOrdering.election.tests.VariableElectionTest< S extends Comparable< S > &Serializable >.checkOutputs(), and toString().

| T frodo2.algorithms.varOrdering.election.LeaderElectionMaxID< T extends Comparable< T > &Serializable >.MessageLEoutput< T extends Comparable< T > &Serializable >.getLeader | ( | ) |
| String frodo2.algorithms.varOrdering.election.LeaderElectionMaxID< T extends Comparable< T > &Serializable >.MessageLEoutput< T extends Comparable< T > &Serializable >.getSender | ( | ) |
Referenced by toString().

| String frodo2.algorithms.varOrdering.election.LeaderElectionMaxID< T extends Comparable< T > &Serializable >.MessageLEoutput< T extends Comparable< T > &Serializable >.toString | ( | ) |
Reimplemented from frodo2.communication.MessageWith3Payloads< T1 extends Serializable, T2 extends Serializable, T3 extends Serializable >.
References getFlag(), getLeader(), and getSender().
