FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
Loading...
Searching...
No Matches
frodo2.communication.OutgoingMsgPolicyInterface< T > Interface Template Reference

This interface describes a listener that is notified by a queue of outgoing messages. More...

Inheritance diagram for frodo2.communication.OutgoingMsgPolicyInterface< T >:

Classes

enum  Decision
 The decision made. More...

Public Member Functions

Decision notifyOut (Message msg)
 Notifies the listener of an outgoing message.
default Decision notifyOut (Object fromAgent, Message msg)
 Notifies the listener of an outgoing message.
default Decision notifyOut (Object fromAgent, Message msg, Collection<? extends Object > toAgents)
 Notifies the listener of an outgoing message.
default Decision notifyOut (Message msg, Collection<? extends Object > toAgents)
 Notifies the listener of an outgoing message.
Public Member Functions inherited from frodo2.communication.MessageListener< T >
void setQueue (Queue queue)
 Sets the queue from which the sendMessage() should be called when the message must be forwarded.
Collection< T > getMsgTypes ()

Detailed Description

This interface describes a listener that is notified by a queue of outgoing messages.

Author
Thomas Leaute
Parameters
<T>the class used for message types

Member Function Documentation

◆ notifyOut() [1/4]

◆ notifyOut() [2/4]

default Decision frodo2.communication.OutgoingMsgPolicyInterface< T >.notifyOut ( Message msg,
Collection<? extends Object > toAgents )

Notifies the listener of an outgoing message.

Parameters
msgthe outgoing message
toAgentsIDs of the destination agents
Returns
The decision on what should be done with msg

References notifyOut().

Here is the call graph for this function:

◆ notifyOut() [3/4]

default Decision frodo2.communication.OutgoingMsgPolicyInterface< T >.notifyOut ( Object fromAgent,
Message msg )

Notifies the listener of an outgoing message.

Parameters
fromAgentID of the sender agent
msgthe outgoing message
Returns
The decision on what should be done with msg

References notifyOut().

Here is the call graph for this function:

◆ notifyOut() [4/4]

default Decision frodo2.communication.OutgoingMsgPolicyInterface< T >.notifyOut ( Object fromAgent,
Message msg,
Collection<? extends Object > toAgents )

Notifies the listener of an outgoing message.

Parameters
fromAgentID of the sender agent
msgthe outgoing message
toAgentsIDs of the destination agents
Returns
The decision on what should be done with msg

Implemented in frodo2.algorithms.test.MessageDebugger.

References notifyOut().

Here is the call graph for this function:

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