FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
Loading...
Searching...
No Matches
frodo2.communication.MessageWith3Payloads< T1 extends Serializable, T2 extends Serializable, T3 extends Serializable > Class Template Reference

A message that has three objects of generic types as a payload. More...

Inheritance diagram for frodo2.communication.MessageWith3Payloads< T1 extends Serializable, T2 extends Serializable, T3 extends Serializable >:

Public Member Functions

 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.

Private Attributes

T1 payload1
 First payload.
T2 payload2
 Second payload.
T3 payload3
 Third payload.

Additional Inherited Members

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

Detailed Description

A message that has three objects of generic types as a payload.

Author
Thomas Leaute
Brammert Ottens
Parameters
<T1>type of the first payload
<T2>type of the second payload
<T3>type of the third payload

Constructor & Destructor Documentation

◆ MessageWith3Payloads() [1/2]

frodo2.communication.MessageWith3Payloads< T1 extends Serializable, T2 extends Serializable, T3 extends Serializable >.MessageWith3Payloads ( )

Empty constructor.

Referenced by clone().

◆ MessageWith3Payloads() [2/2]

frodo2.communication.MessageWith3Payloads< T1 extends Serializable, T2 extends Serializable, T3 extends Serializable >.MessageWith3Payloads ( MessageType type,
T1 payload1,
T2 payload2,
T3 payload3 )

Constructor.

Parameters
typethe type of this message
payload1first payload
payload2second payload
payload3third payload

References payload1, payload2, payload3, and frodo2.communication.Message.type.

Member Function Documentation

◆ clone()

MessageWith3Payloads< T1, T2, T3 > frodo2.communication.MessageWith3Payloads< T1 extends Serializable, T2 extends Serializable, T3 extends Serializable >.clone ( )
Returns
a shallow clone of this message

References frodo2.communication.Message.getType(), MessageWith3Payloads(), payload1, payload2, and payload3.

Here is the call graph for this function:

◆ getPayload1()

T1 frodo2.communication.MessageWith3Payloads< T1 extends Serializable, T2 extends Serializable, T3 extends Serializable >.getPayload1 ( )
Returns
the first payload

References payload1.

Referenced by frodo2.algorithms.dpop.UTILpropagation< Val extends Addable< Val >, U extends Addable< U > >.SolutionMessage< Val extends Addable< Val > >.getClusterID(), frodo2.algorithms.AgentInterface< V extends Addable< V > >.ComStatsMessage.getMsgNbrs(), frodo2.algorithms.adopt.HeuristicMsg< Val extends Addable< Val >, U extends Addable< U > >.getReceiver(), frodo2.algorithms.dpop.privacy.VarCodenameMsg< V >.getReceiver(), frodo2.algorithms.duct.COSTBmsg.getReceiver(), frodo2.algorithms.duct.NORMmsg.getReceiver(), frodo2.algorithms.adopt.BoundsMsg< Val extends Addable< Val >, U extends Addable< U > >.getSender(), frodo2.algorithms.asodpop.VALUEmsgPseudo< Val extends Addable< Val > >.getSender(), frodo2.algorithms.dpop.count.CountSolutionsVALUE< Val extends Addable< Val >, U extends Addable< U > >.SolutionSizeMessage< Val extends Addable< Val > >.getSender(), frodo2.algorithms.dpop.privacy.VarCodenameMsg< V >.getSender(), frodo2.algorithms.dpop.stochastic.LCAmsg1.getSender(), frodo2.algorithms.localSearch.dsa.VALUEmsg< Val extends Addable< Val > >.getSender(), frodo2.algorithms.localSearch.mgm.IMPROVE< U extends Addable< U > >.getSender(), frodo2.algorithms.localSearch.mgm.mgm2.IMPROVE< U extends Addable< U > >.getSender(), frodo2.algorithms.localSearch.mgm.OK< V extends Addable< V > >.getSender(), frodo2.algorithms.varOrdering.dfs.CHILDmsg.getSender(), frodo2.algorithms.varOrdering.dfs.PSEUDOmsg.getSender(), frodo2.algorithms.varOrdering.election.LeaderElectionMaxID< T extends Comparable< T > &Serializable >.MessageLEoutput< T extends Comparable< T > &Serializable >.getSender(), frodo2.algorithms.varOrdering.dfs.DFSgenerationWithOrder< V extends Addable< V >, U extends Addable< U > >.DFSorderOutputMessage.getVar(), frodo2.algorithms.dpop.privacy.VectorMsg< C extends Addable< C >, E extends AddableLimited< C, E >.getVector(), frodo2.algorithms.dpop.memory.LabelingPhase< V extends Addable< V > >.notifyIn(), frodo2.daemon.LocalConfigManager.notifyIn(), frodo2.algorithms.dpop.privacy.CollaborativeDecryption< C extends Addable< C >, E extends AddableLimited< C, E, K extends PublicKeyShare >.DecryptionOutput< C extends Addable< C > >.toString(), frodo2.algorithms.dpop.privacy.DecryptRequest< C extends Addable< C >, E extends AddableLimited< C, E >.toString(), frodo2.algorithms.dpop.memory.ContextMsg< V extends Addable< V > >.writeExternal(), frodo2.algorithms.dpop.privacy.DecryptRequest< C extends Addable< C >, E extends AddableLimited< C, E >.writeExternal(), frodo2.algorithms.duct.COSTBmsg.writeExternal(), frodo2.algorithms.duct.NORMmsg.writeExternal(), frodo2.algorithms.localSearch.mgm.IMPROVE< U extends Addable< U > >.writeExternal(), frodo2.algorithms.localSearch.mgm.mgm2.IMPROVE< U extends Addable< U > >.writeExternal(), and frodo2.algorithms.localSearch.mgm.OK< V extends Addable< V > >.writeExternal().

◆ getPayload2()

T2 frodo2.communication.MessageWith3Payloads< T1 extends Serializable, T2 extends Serializable, T3 extends Serializable >.getPayload2 ( )
Returns
the second payload

References payload2.

Referenced by frodo2.algorithms.dpop.privacy.VarCodenameMsg< V >.getCodeName(), frodo2.algorithms.duct.COSTBmsg.getCost(), frodo2.algorithms.dpop.stochastic.LCAmsg1.getDest(), frodo2.algorithms.varOrdering.dfs.CHILDmsg.getDest(), frodo2.algorithms.varOrdering.dfs.PSEUDOmsg.getDest(), frodo2.algorithms.varOrdering.election.LeaderElectionMaxID< T extends Comparable< T > &Serializable >.MessageLEoutput< T extends Comparable< T > &Serializable >.getFlag(), frodo2.algorithms.duct.NORMmsg.getMinus(), frodo2.algorithms.AgentInterface< V extends Addable< V > >.ComStatsMessage.getMsgSizes(), frodo2.algorithms.dpop.privacy.VectorMsg< C extends Addable< C >, E extends AddableLimited< C, E >.getOwner(), frodo2.algorithms.adopt.BoundsMsg< Val extends Addable< Val >, U extends Addable< U > >.getReceiver(), frodo2.algorithms.asodpop.VALUEmsgPseudo< Val extends Addable< Val > >.getReceiver(), frodo2.algorithms.localSearch.dsa.VALUEmsg< Val extends Addable< Val > >.getReceiver(), frodo2.algorithms.localSearch.mgm.IMPROVE< U extends Addable< U > >.getReceiver(), frodo2.algorithms.localSearch.mgm.mgm2.IMPROVE< U extends Addable< U > >.getReceiver(), frodo2.algorithms.localSearch.mgm.OK< V extends Addable< V > >.getReceiver(), frodo2.algorithms.adopt.HeuristicMsg< Val extends Addable< Val >, U extends Addable< U > >.getSender(), frodo2.algorithms.varOrdering.dfs.DFSgenerationWithOrder< V extends Addable< V >, U extends Addable< U > >.DFSorderOutputMessage.getTrueOrder(), frodo2.algorithms.dpop.count.CountSolutionsVALUE< Val extends Addable< Val >, U extends Addable< U > >.SolutionSizeMessage< Val extends Addable< Val > >.getVariables(), frodo2.algorithms.dpop.UTILpropagation< Val extends Addable< Val >, U extends Addable< U > >.SolutionMessage< Val extends Addable< Val > >.getVariables(), frodo2.algorithms.dpop.memory.LabelingPhase< V extends Addable< V > >.notifyIn(), frodo2.daemon.LocalConfigManager.notifyIn(), frodo2.algorithms.dpop.privacy.CollaborativeDecryption< C extends Addable< C >, E extends AddableLimited< C, E, K extends PublicKeyShare >.DecryptionOutput< C extends Addable< C > >.toString(), frodo2.algorithms.dpop.privacy.DecryptRequest< C extends Addable< C >, E extends AddableLimited< C, E >.toString(), frodo2.algorithms.dpop.privacy.DecryptRequest< C extends Addable< C >, E extends AddableLimited< C, E >.writeExternal(), frodo2.algorithms.dpop.privacy.VectorMsg< C extends Addable< C >, E extends AddableLimited< C, E >.writeExternal(), frodo2.algorithms.duct.COSTBmsg.writeExternal(), frodo2.algorithms.duct.NORMmsg.writeExternal(), frodo2.algorithms.localSearch.mgm.IMPROVE< U extends Addable< U > >.writeExternal(), frodo2.algorithms.localSearch.mgm.mgm2.IMPROVE< U extends Addable< U > >.writeExternal(), and frodo2.algorithms.localSearch.mgm.OK< V extends Addable< V > >.writeExternal().

◆ getPayload3()

T3 frodo2.communication.MessageWith3Payloads< T1 extends Serializable, T2 extends Serializable, T3 extends Serializable >.getPayload3 ( )
Returns
the third payload

References payload3.

Referenced by frodo2.algorithms.dpop.privacy.DecryptRequest< C extends Addable< C >, E extends AddableLimited< C, E >.decryptFor(), frodo2.algorithms.dpop.privacy.CollaborativeDecryption< C extends Addable< C >, E extends AddableLimited< C, E, K extends PublicKeyShare >.DecryptionOutput< C extends Addable< C > >.dest(), frodo2.algorithms.duct.COSTBmsg.getBound(), frodo2.algorithms.adopt.BoundsMsg< Val extends Addable< Val >, U extends Addable< U > >.getBounds(), frodo2.algorithms.dpop.privacy.VarCodenameMsg< V >.getCleartextDomain(), frodo2.algorithms.dpop.UTILpropagation< Val extends Addable< Val >, U extends Addable< U > >.SolutionMessage< Val extends Addable< Val > >.getCondOptAssignments(), frodo2.algorithms.asodpop.VALUEmsgPseudo< Val extends Addable< Val > >.getContext(), frodo2.algorithms.varOrdering.dfs.DFSgenerationWithOrder< V extends Addable< V >, U extends Addable< U > >.DFSorderOutputMessage.getDeclaredOrder(), frodo2.algorithms.duct.NORMmsg.getDivide(), frodo2.algorithms.dpop.privacy.VarCodenameMsg< V >.getDomains(), frodo2.algorithms.dpop.stochastic.LCAmsg1.getFlags(), frodo2.algorithms.localSearch.mgm.IMPROVE< U extends Addable< U > >.getImprove(), frodo2.algorithms.localSearch.mgm.mgm2.IMPROVE< U extends Addable< U > >.getImprove(), frodo2.algorithms.AgentInterface< V extends Addable< V > >.ComStatsMessage.getMaxMsgSizes(), frodo2.algorithms.dpop.privacy.VarCodenameMsg< V >.getOfuscatedDomain(), frodo2.algorithms.dpop.privacy.VectorMsg< C extends Addable< C >, E extends AddableLimited< C, E >.getRound(), frodo2.algorithms.adopt.HeuristicMsg< Val extends Addable< Val >, U extends Addable< U > >.getSpace(), frodo2.algorithms.localSearch.dsa.VALUEmsg< Val extends Addable< Val > >.getValue(), frodo2.algorithms.localSearch.mgm.OK< V extends Addable< V > >.getValue(), frodo2.algorithms.dpop.count.CountSolutionsVALUE< Val extends Addable< Val >, U extends Addable< U > >.SolutionSizeMessage< Val extends Addable< Val > >.getValues(), frodo2.algorithms.dpop.memory.LabelingPhase< V extends Addable< V > >.notifyIn(), frodo2.daemon.LocalConfigManager.notifyIn(), frodo2.algorithms.dpop.privacy.DecryptRequest< C extends Addable< C >, E extends AddableLimited< C, E >.writeExternal(), frodo2.algorithms.dpop.privacy.VectorMsg< C extends Addable< C >, E extends AddableLimited< C, E >.writeExternal(), frodo2.algorithms.duct.COSTBmsg.writeExternal(), frodo2.algorithms.duct.NORMmsg.writeExternal(), frodo2.algorithms.localSearch.mgm.IMPROVE< U extends Addable< U > >.writeExternal(), frodo2.algorithms.localSearch.mgm.mgm2.IMPROVE< U extends Addable< U > >.writeExternal(), and frodo2.algorithms.localSearch.mgm.OK< V extends Addable< V > >.writeExternal().

◆ readExternal()

◆ setPayload1()

◆ setPayload2()

◆ setPayload3()

◆ toString()

String frodo2.communication.MessageWith3Payloads< T1 extends Serializable, T2 extends Serializable, T3 extends Serializable >.toString ( )
See also
Message.toString()

Reimplemented from frodo2.communication.Message.

Reimplemented in frodo2.algorithms.AgentInterface< V extends Addable< V > >.ComStatsMessage, frodo2.algorithms.dpop.count.CountSolutionsUTIL< Val extends Addable< Val >, U extends Addable< U > >.SeparatorMessage, frodo2.algorithms.dpop.count.VALUEmsg< Val extends Addable< Val > >, frodo2.algorithms.dpop.memory.ContextMsg< V extends Addable< V > >, frodo2.algorithms.dpop.param.VALUEmsg< Val extends Addable< Val > >, frodo2.algorithms.dpop.privacy.CollaborativeDecryption< C extends Addable< C >, E extends AddableLimited< C, E, K extends PublicKeyShare >.DecryptionOutput< C extends Addable< C > >, frodo2.algorithms.dpop.privacy.DecryptRequest< C extends Addable< C >, E extends AddableLimited< C, E >, frodo2.algorithms.dpop.privacy.RoutingMsg< M extends Message >, frodo2.algorithms.dpop.privacy.VarCodenameMsg< V >, frodo2.algorithms.dpop.privacy.VectorMsg< C extends Addable< C >, E extends AddableLimited< C, E >, frodo2.algorithms.dpop.stochastic.SamplesMsg1< V extends Addable< V > >, frodo2.algorithms.dpop.UTILpropagation< Val extends Addable< Val >, U extends Addable< U > >.SolutionMessage< Val extends Addable< Val > >, frodo2.algorithms.dpop.VALUEmsg< Val extends Addable< Val > >, frodo2.algorithms.varOrdering.dfs.CHILDmsg, frodo2.algorithms.varOrdering.dfs.CHILDorderMsg, frodo2.algorithms.varOrdering.dfs.DFSgenerationWithOrder< V extends Addable< V >, U extends Addable< U > >.DFSorderOutputMessage, and frodo2.algorithms.varOrdering.election.LeaderElectionMaxID< T extends Comparable< T > &Serializable >.MessageLEoutput< T extends Comparable< T > &Serializable >.

References payload1, payload2, and payload3.

◆ writeExternal()

Member Data Documentation

◆ payload1

T1 frodo2.communication.MessageWith3Payloads< T1 extends Serializable, T2 extends Serializable, T3 extends Serializable >.payload1
private

First payload.

Referenced by clone(), getPayload1(), MessageWith3Payloads(), setPayload1(), and toString().

◆ payload2

T2 frodo2.communication.MessageWith3Payloads< T1 extends Serializable, T2 extends Serializable, T3 extends Serializable >.payload2
private

Second payload.

Referenced by clone(), getPayload2(), MessageWith3Payloads(), setPayload2(), and toString().

◆ payload3

T3 frodo2.communication.MessageWith3Payloads< T1 extends Serializable, T2 extends Serializable, T3 extends Serializable >.payload3
private

Third payload.

Referenced by clone(), getPayload3(), MessageWith3Payloads(), setPayload3(), and toString().


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