|
FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
|
Whenever a request for connection is received, one such a thread is spawn to establish the connection. More...

Public Member Functions | |
| Receiver (Socket socket, QueueInputPipeTCP server) | |
| Constructor. | |
| void | start () |
| void | run () |
| Receives messages and passes them to the queue. | |
Private Attributes | |
| QueueInputPipeTCP | server |
| The QueueInputPipeTCP that spawned this thread. | |
| Socket | socket |
| The socket from which messages should be read. | |
Whenever a request for connection is received, one such a thread is spawn to establish the connection.
| frodo2.communication.tcp.QueueInputPipeTCP.Receiver.Receiver | ( | Socket | socket, |
| QueueInputPipeTCP | server ) |
Constructor.
| socket | the socket used to exchange messages |
| server | the QueueInputPipeTCP that spawned this thread |
References frodo2.communication.tcp.QueueInputPipeTCP.QueueInputPipeTCP(), server, socket, and start().

| void frodo2.communication.tcp.QueueInputPipeTCP.Receiver.run | ( | ) |
Receives messages and passes them to the queue.
References frodo2.communication.Message.readExternal(), server, and socket.

| void frodo2.communication.tcp.QueueInputPipeTCP.Receiver.start | ( | ) |
Referenced by Receiver().
|
private |
The QueueInputPipeTCP that spawned this thread.
Referenced by Receiver(), and run().
|
private |
The socket from which messages should be read.
Referenced by Receiver(), and run().