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

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

Inheritance diagram for frodo2.algorithms.asodpop.ACKmsg:

Public Member Functions

 ACKmsg ()
 Empty constructor.
 ACKmsg (String receiver)
 A constructor.
void writeExternal (ObjectOutput out) throws IOException
void readExternal (ObjectInput in) throws IOException, ClassNotFoundException
String getReceiver ()
 Returns the receiver of the message.
Public Member Functions inherited from frodo2.communication.MessageWithPayload< T extends Serializable >
 MessageWithPayload ()
 Empty constructor.
 MessageWithPayload (MessageType type, T payload)
 Constructor.
MessageWithPayload< T > clone ()
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.

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

◆ ACKmsg() [1/2]

frodo2.algorithms.asodpop.ACKmsg.ACKmsg ( )

◆ ACKmsg() [2/2]

frodo2.algorithms.asodpop.ACKmsg.ACKmsg ( String receiver)

A constructor.

Parameters
receiverThe recipient of the message

References frodo2.algorithms.asodpop.ASODPOP< Val extends Addable< Val >, U extends Addable< U > >.ACK_MSG_TYPE.

Member Function Documentation

◆ getReceiver()

String frodo2.algorithms.asodpop.ACKmsg.getReceiver ( )

Returns the receiver of the message.

Returns
receiver

References frodo2.communication.MessageWithPayload< T extends Serializable >.getPayload().

Here is the call graph for this function:

◆ readExternal()

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

Reimplemented from frodo2.communication.MessageWithPayload< T extends Serializable >.

◆ writeExternal()

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

Reimplemented from frodo2.communication.MessageWithPayload< T extends Serializable >.

Member Data Documentation

◆ serialVersionUID

final long frodo2.algorithms.asodpop.ACKmsg.serialVersionUID = 6800731265392941706L
staticprivate

Used for serialization.


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