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

This message is used to ask a child for new information. More...

Inheritance diagram for frodo2.algorithms.odpop.DONEmsg:

Public Member Functions

 DONEmsg ()
 Empty constructor.
 DONEmsg (String sender, String receiver)
 A constructor.
void writeExternal (ObjectOutput out) throws IOException
void readExternal (ObjectInput in) throws IOException, ClassNotFoundException
String getSender ()
 Returns the sender of the message.
String getReceiver ()
 Returns the receiver of the message.
Public Member Functions inherited from frodo2.communication.MessageWith2Payloads< T1 extends Serializable, T2 extends Serializable >
 MessageWith2Payloads (MessageType type, T1 payload1, T2 payload2)
 Constructor.
 MessageWith2Payloads ()
 Empty constructor.
MessageWith2Payloads< T1, T2 > clone ()
T1 getPayload1 ()
void setPayload1 (T1 payload1)
T2 getPayload2 ()
void setPayload2 (T2 payload2)
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.

Static Private Attributes

static final long serialVersionUID = 6800731265392941706L
 Used for serialization.

Additional Inherited Members

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

Detailed Description

This message is used to ask a child for new information.

Author
brammert

Constructor & Destructor Documentation

◆ DONEmsg() [1/2]

◆ DONEmsg() [2/2]

frodo2.algorithms.odpop.DONEmsg.DONEmsg ( String sender,
String receiver )

A constructor.

Parameters
senderThe sender of the message
receiverThe recipient of the message

References frodo2.algorithms.odpop.UTILpropagationFullDomain< Val extends Addable< Val >, U extends Addable< U >, L extends LeafNode< U > >.DONE_MSG.

Member Function Documentation

◆ getReceiver()

String frodo2.algorithms.odpop.DONEmsg.getReceiver ( )

Returns the receiver of the message.

Returns
receiver

References frodo2.communication.MessageWith2Payloads< T1 extends Serializable, T2 extends Serializable >.getPayload2().

Here is the call graph for this function:

◆ getSender()

String frodo2.algorithms.odpop.DONEmsg.getSender ( )

Returns the sender of the message.

Returns
sender

References frodo2.communication.MessageWith2Payloads< T1 extends Serializable, T2 extends Serializable >.getPayload1().

Here is the call graph for this function:

◆ readExternal()

void frodo2.algorithms.odpop.DONEmsg.readExternal ( ObjectInput in) throws IOException, ClassNotFoundException
See also
java.io.Externalizable#readExternal(java.io.ObjectInput)

Reimplemented from frodo2.communication.MessageWith2Payloads< T1 extends Serializable, T2 extends Serializable >.

◆ writeExternal()

void frodo2.algorithms.odpop.DONEmsg.writeExternal ( ObjectOutput out) throws IOException
See also
java.io.Externalizable#writeExternal(java.io.ObjectOutput)

Reimplemented from frodo2.communication.MessageWith2Payloads< T1 extends Serializable, T2 extends Serializable >.

Member Data Documentation

◆ serialVersionUID

final long frodo2.algorithms.odpop.DONEmsg.serialVersionUID = 6800731265392941706L
staticprivate

Used for serialization.


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