A uni-directional pipe connection. More...
#include <pipeConnection.h>


Public Member Functions | |
| PipeConnection () | |
| Construct a new pipe connection. | |
| virtual | ~PipeConnection () |
| Destruct this pipe connection. | |
| virtual bool | connect () |
| Connect to the remote peer. | |
| virtual void | close () |
| Close a connected or listening connection. | |
A uni-directional pipe connection.
The pipe connection is implemented using anonymous pipes, and can therefore only be used between related threads. A PairConnection can be used to create a bi-directional communication using two pipe connections.
Definition at line 40 of file pipeConnection.h.
| eq::net::PipeConnection::PipeConnection | ( | ) |
Construct a new pipe connection.
Definition at line 31 of file pipeConnection.cpp.
References eq::net::CONNECTIONTYPE_PIPE.
| eq::net::PipeConnection::~PipeConnection | ( | ) | [virtual] |
Destruct this pipe connection.
Definition at line 43 of file pipeConnection.cpp.
| bool eq::net::PipeConnection::connect | ( | ) | [virtual] |
Connect to the remote peer.
The ConnectionDescription of this connection is used to identify the peer's parameters.
true if the connection was successfully connected, false if not. Reimplemented from eq::net::Connection.
Definition at line 178 of file pipeConnection.cpp.
References eq::net::Connection::_description, eq::net::FDConnection::_readFD, eq::net::Connection::_state, eq::net::FDConnection::_writeFD, close(), eq::net::CONNECTIONTYPE_PIPE, EQVERB, eq::net::Connection::STATE_CLOSED, eq::net::Connection::STATE_CONNECTED, and eq::net::Connection::STATE_CONNECTING.

0.9.1 by
1.6.1