BeeeOn Gateway  v2020.3.1-2-g6f737dc
Platform to interconnect the IoT world
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes
BeeeOn::FdStreamIOS Class Reference
Inheritance diagram for BeeeOn::FdStreamIOS:
BeeeOn::FdInputStream BeeeOn::FdOutputStream

Public Types

enum  {
  POLL_READABLE = 0x01, POLL_WRITABLE = 0x02, POLL_ERROR = 0x04, POLL_HANGUP = 0x08,
  POLL_INVALID = 0x10, POLL_TIMEOUT = 0x20
}
 

Public Member Functions

 FdStreamIOS (std::streamsize size, openmode mode)
 
 FdStreamIOS (int fd, std::streamsize size, openmode mode)
 
int fd () const
 
void setBlocking (bool blocking)
 
bool blocking () const
 
void assign (int fd, bool closeOld=true)
 
void close ()
 

Protected Member Functions

bool poll (struct pollfd &fd, const Poco::Timespan &timeout) const
 

Protected Attributes

FdStreamBuf m_buf
 

The documentation for this class was generated from the following files: