|
FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
|
A message that has a single object of generic type as a payload. More...

Public Member Functions | |
| MessageWithPayload () | |
| Empty constructor. | |
| void | writeExternal (ObjectOutput out) throws IOException |
| void | readExternal (ObjectInput in) throws IOException, ClassNotFoundException |
| MessageWithPayload (MessageType type, T payload) | |
| Constructor. | |
| MessageWithPayload< T > | clone () |
| T | getPayload () |
| void | setPayload (T payload) |
| 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. | |
Private Attributes | |
| T | payload |
| The payload of this message. | |
Additional Inherited Members | |
| Protected Attributes inherited from frodo2.communication.Message | |
| MessageType | type |
| The type of this message. | |
A message that has a single object of generic type as a payload.
| <T> | the type of the payload |
| frodo2.communication.MessageWithPayload< T extends Serializable >.MessageWithPayload | ( | ) |
Empty constructor.
Referenced by clone().
| frodo2.communication.MessageWithPayload< T extends Serializable >.MessageWithPayload | ( | MessageType | type, |
| T | payload ) |
Constructor.
| type | the type of this message |
| payload | the payload of this message |
References payload, and frodo2.communication.Message.type.
| MessageWithPayload< T > frodo2.communication.MessageWithPayload< T extends Serializable >.clone | ( | ) |
References frodo2.communication.Message.getType(), MessageWithPayload(), and payload.

| T frodo2.communication.MessageWithPayload< T extends Serializable >.getPayload | ( | ) |
References payload.
Referenced by frodo2.algorithms.dpop.privacy.RerootingMsg.getDest(), frodo2.algorithms.duct.BoundStatsMsg.getFinalBound(), frodo2.algorithms.dpop.privacy.CollaborativeDecryption< C extends Addable< C >, E extends AddableLimited< C, E, K extends PublicKeyShare >.StatRequestOutput.getMap(), frodo2.algorithms.asodpop.ACKmsg.getReceiver(), frodo2.algorithms.localSearch.mgm.mgm2.GO.getReceiver(), frodo2.algorithms.localSearch.mgm.mgm2.NOGO.getReceiver(), frodo2.algorithms.localSearch.mgm.mgm2.REJECT.getReceiver(), frodo2.algorithms.odpop.ASKmsg.getReceiver(), frodo2.algorithms.dpop.privacy.RerootingMsg.toString(), frodo2.algorithms.dpop.privacy.CollaborativeDecryption< C extends Addable< C >, E extends AddableLimited< C, E, K extends PublicKeyShare >.StatRequestOutput.writeExternal(), frodo2.algorithms.dpop.privacy.RerootingMsg.writeExternal(), and frodo2.algorithms.duct.BoundStatsMsg.writeExternal().
| void frodo2.communication.MessageWithPayload< T extends Serializable >.readExternal | ( | ObjectInput | in | ) | throws IOException, ClassNotFoundException |
Reimplemented from frodo2.communication.Message.
Reimplemented in frodo2.algorithms.asodpop.ACKmsg, frodo2.algorithms.dpop.privacy.CollaborativeDecryption< C extends Addable< C >, E extends AddableLimited< C, E, K extends PublicKeyShare >.StatRequestOutput, frodo2.algorithms.dpop.privacy.RerootingMsg, frodo2.algorithms.dpop.privacy.StopMsg, frodo2.algorithms.duct.BoundStatsMsg, and frodo2.algorithms.odpop.ASKmsg.
| void frodo2.communication.MessageWithPayload< T extends Serializable >.setPayload | ( | T | payload | ) |
| payload | the payload to set |
References payload.
Referenced by frodo2.algorithms.dpop.privacy.CollaborativeDecryption< C extends Addable< C >, E extends AddableLimited< C, E, K extends PublicKeyShare >.StatRequestOutput.readExternal(), frodo2.algorithms.dpop.privacy.RerootingMsg.readExternal(), frodo2.algorithms.dpop.privacy.RerootingMsg.RerootingMsg(), and frodo2.algorithms.dpop.privacy.CollaborativeDecryption< C extends Addable< C >, E extends AddableLimited< C, E, K extends PublicKeyShare >.StatRequestOutput.StatRequestOutput().
| String frodo2.communication.MessageWithPayload< T extends Serializable >.toString | ( | ) |
Reimplemented from frodo2.communication.Message.
Reimplemented in frodo2.algorithms.dpop.privacy.RerootingMsg.
References payload.
| void frodo2.communication.MessageWithPayload< T extends Serializable >.writeExternal | ( | ObjectOutput | out | ) | throws IOException |
Reimplemented from frodo2.communication.Message.
Reimplemented in frodo2.algorithms.asodpop.ACKmsg, frodo2.algorithms.dpop.privacy.CollaborativeDecryption< C extends Addable< C >, E extends AddableLimited< C, E, K extends PublicKeyShare >.StatRequestOutput, frodo2.algorithms.dpop.privacy.RerootingMsg, frodo2.algorithms.dpop.privacy.StopMsg, frodo2.algorithms.duct.BoundStatsMsg, and frodo2.algorithms.odpop.ASKmsg.
References payload.
|
private |
The payload of this message.
Referenced by clone(), getPayload(), MessageWithPayload(), setPayload(), toString(), and writeExternal().