FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
Loading...
Searching...
No Matches
frodo2.communication.PipeFactory Interface Reference
Inheritance diagram for frodo2.communication.PipeFactory:

Public Member Functions

QueueInputPipeInterface inputPipe (Queue queue, AgentAddress address, Integer maxNbrConnections) throws IOException
 create an input pipe with the following arguments
QueueInputPipeInterface inputPipe (Queue queue, AgentAddress address) throws IOException
 create an input pipe with the following arguments
QueueOutputPipeInterface outputPipe (AgentAddress address) throws UnknownHostException, IOException
QueueOutputPipeInterface outputPipe (AgentAddress address, AgentAddress rawDataAddress) throws UnknownHostException, IOException
 create an output pipe with the following arguments
AgentAddress getSelfAddress (int idx)

Detailed Description

Author
Xavier Olive for pipe instantiatons is implemented for TCP and MPI for instance

Member Function Documentation

◆ getSelfAddress()

◆ inputPipe() [1/2]

QueueInputPipeInterface frodo2.communication.PipeFactory.inputPipe ( Queue queue,
AgentAddress address ) throws IOException

create an input pipe with the following arguments

Parameters
queue(self-explanatory)
address(self-explanatory)
Returns
a pipe
Exceptions
IOException(self-explanatory)

Implemented in frodo2.communication.tcp.TCPPipeFactory.

◆ inputPipe() [2/2]

QueueInputPipeInterface frodo2.communication.PipeFactory.inputPipe ( Queue queue,
AgentAddress address,
Integer maxNbrConnections ) throws IOException

◆ outputPipe() [1/2]

QueueOutputPipeInterface frodo2.communication.PipeFactory.outputPipe ( AgentAddress address) throws UnknownHostException, IOException
Parameters
address(self-explanatory)
Returns
a pipe
Exceptions
UnknownHostException(self-explanatory)
IOException(self-explanatory)

Implemented in frodo2.communication.tcp.TCPPipeFactory.

Referenced by frodo2.algorithms.test.AllTests.createQueueNetwork(), and frodo2.daemon.userIO.UserIO.registerController().

◆ outputPipe() [2/2]

QueueOutputPipeInterface frodo2.communication.PipeFactory.outputPipe ( AgentAddress address,
AgentAddress rawDataAddress ) throws UnknownHostException, IOException

create an output pipe with the following arguments

Parameters
address(self-explanatory)
rawDataAddress(self-explanatory)
Returns
a pipe
Exceptions
UnknownHostException(self-explanatory)
IOException(self-explanatory)

Implemented in frodo2.communication.tcp.TCPPipeFactory.


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