#include <conexus/filedescriptor.h>
Inheritance diagram for Conexus::FileDescriptor:
Public Member Functions | |
FileDescriptor (int fd=-1, bool close_on_destruction=true) | |
virtual int | fd () throw () |
Base class method returning the raw file descriptor. | |
virtual void | close (bool force=false) throw (close_error) |
Closes the Endpoint object by closing the member file descriptor. | |
virtual const std::string & | object_type () |
Protected Member Functions | |
virtual void | read_thread_main () |
Protected Attributes | |
int | m_fd |
|
Closes the Endpoint object by closing the member file descriptor. If the object is already closed will return without attempting to close. Implements Conexus::Endpoint. Reimplemented in Conexus::Socket, and Conexus::TTY. |
|
Base class method returning the raw file descriptor. This class is also available as the "fd" property. |