libutil++  1.9.3
 All Classes Functions Variables
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Attributes | List of all members
sella::net::Pipe Class Reference

Public Types

typedef std::shared_ptr< Pipeshared
 
typedef Pipeptr
 

Public Member Functions

 Pipe (bool nonBlock=true) throw (SocketException)
 
 Pipe (const Pipe &sock)=delete
 
void operator= (const Pipe &sock)=delete
 
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: