Public Types | |
| typedef std::shared_ptr< Pipe > | shared |
| typedef Pipe * | ptr |
Public Member Functions | |
| Pipe (bool nonBlock=true) throw (SocketException) | |
| Pipe (const Pipe &sock) | |
| void | operator= (const Pipe &sock) |
| ssize_t | write (const void *data, size_t len) throw (SocketException) |
| ssize_t | write (const std::string &data) throw (SocketException) |
| ssize_t | write (const std::vector< uint8_t > &data) throw (SocketException) |
| ssize_t | read (void *data, size_t len) throw (SocketException) |
| ssize_t | read (std::string &data, size_t len=ReadSizeDefault) throw (SocketException) |
| ssize_t | read (std::vector< uint8_t > &data, size_t len=ReadSizeDefault) throw (SocketException) |
| int | getWriteFD (void) |
| int | getReadFD (void) |
Static Public Member Functions | |
| static const Pipe::shared | shared_ptr (bool nonBlock=true) throw (SocketException) |
Static Public Attributes | |
| static const size_t | ReadSizeDefault = 65536 |
Protected Attributes | |
| int | fd [2] |
Definition at line 23 of file Pipe.h.
1.6.1