#include <unix_buffer.H>
Public Member Functions | |
socket_piper () | |
create a pipe and store the two descriptors privately | |
~socket_piper () | |
destruct the pipe creator and undetached descriptors | |
std::istream * | detach_InPipe (const int bufsize=-1) |
std::ostream * | detach_OutPipe (const int bufsize=-1) |
Private Attributes | |
int | socketdes [2] |
Definition at line 1316 of file unix_buffer.H.
socket_piper::socket_piper | ( | ) | [inline] |
create a pipe and store the two descriptors privately
Definition at line 1324 of file unix_buffer.H.
socket_piper::~socket_piper | ( | ) | [inline] |
std::istream* socket_piper::detach_InPipe | ( | const int | bufsize = -1 |
) | [inline] |
spawn the read part of the constructed pipe and detach it
bufsize | (optional) buffer size |
Definition at line 1344 of file unix_buffer.H.
std::ostream* socket_piper::detach_OutPipe | ( | const int | bufsize = -1 |
) | [inline] |
spawn the write part of the constructed pipe and detach it
bufsize | (optional) buffer size |
Definition at line 1360 of file unix_buffer.H.
int socket_piper::socketdes[2] [private] |
Definition at line 1319 of file unix_buffer.H.