FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
Loading...
Searching...
No Matches
frodo2.algorithms.dpop.privacy.RoutingMsg< M extends Message > Class Template Reference

A wrapper message around a payload message that must be routed through the DFS. More...

Inheritance diagram for frodo2.algorithms.dpop.privacy.RoutingMsg< M extends Message >:

Public Member Functions

 RoutingMsg ()
 Empty constructor used for externalization.
 RoutingMsg (MessageType type, String sender, M msg)
 Public constructor.
String getSender ()
getPayload ()
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

 RoutingMsg (MessageType type, String sender, M msg, String dest)
 Protected constructor.
String getDest ()

Additional Inherited Members

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

Detailed Description

A wrapper message around a payload message that must be routed through the DFS.

Parameters
<M>the Message class of the payload

Constructor & Destructor Documentation

◆ RoutingMsg() [1/3]

Empty constructor used for externalization.

◆ RoutingMsg() [2/3]

frodo2.algorithms.dpop.privacy.RoutingMsg< M extends Message >.RoutingMsg ( MessageType type,
String sender,
M msg )

Public constructor.

Parameters
typethe type of this message
senderthe sender variable
msgthe payload message

References frodo2.communication.Message.type.

◆ RoutingMsg() [3/3]

frodo2.algorithms.dpop.privacy.RoutingMsg< M extends Message >.RoutingMsg ( MessageType type,
String sender,
M msg,
String dest )
protected

Protected constructor.

Parameters
typethe type of this message
senderthe sender variable
msgthe payload message
destthe destination variable

References frodo2.communication.Message.type.

Member Function Documentation

◆ getDest()

String frodo2.algorithms.dpop.privacy.RoutingMsg< M extends Message >.getDest ( )
protected
Returns
the destination variable

Referenced by frodo2.algorithms.dpop.privacy.SecureCircularRouting.notifyIn().

◆ getPayload()

M frodo2.algorithms.dpop.privacy.RoutingMsg< M extends Message >.getPayload ( )
Returns
the payload message

Referenced by frodo2.algorithms.dpop.privacy.SecureCircularRouting.notifyIn().

◆ getSender()

String frodo2.algorithms.dpop.privacy.RoutingMsg< M extends Message >.getSender ( )
Returns
the sender variable

Referenced by frodo2.algorithms.dpop.privacy.SecureCircularRouting.notifyIn().

◆ toString()


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