sella::net::Pipe Class Reference

List of all members.

Public Types

typedef std::shared_ptr< Pipeshared
typedef Pipeptr

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]

Detailed Description

Definition at line 23 of file Pipe.h.


The documentation for this class was generated from the following files:
 All Classes Functions Variables

Generated on 20 Nov 2014 for libutil++ by  doxygen 1.6.1