#include <exceptions.hpp>
Public Member Functions | |
Socket (int fd_, int erno_) | |
Sole Constructor. | |
~Socket () throw () | |
virtual const char * | what () const =0 throw () |
int | getFd () const throw () |
int | getErrno () const throw () |
Protected Attributes | |
int | fd |
File descriptor of socket. | |
int | erno |
Associated errno. |
Definition at line 119 of file exceptions.hpp.
Fastcgipp::Exceptions::Socket::Socket | ( | int | fd_, | |
int | erno_ | |||
) | [inline] |
Sole Constructor.
[in] | fd_ | File descriptor of socket |
[in] | erno_ | Associated errno |
Definition at line 127 of file exceptions.hpp.
Fastcgipp::Exceptions::Socket::~Socket | ( | ) | throw () [inline] |
Definition at line 128 of file exceptions.hpp.
int Fastcgipp::Exceptions::Socket::getErrno | ( | ) | const throw () [inline] |
int Fastcgipp::Exceptions::Socket::getFd | ( | ) | const throw () [inline] |
virtual const char* Fastcgipp::Exceptions::Socket::what | ( | ) | const throw () [pure virtual] |
Implements Fastcgipp::Exceptions::Exception.
Implemented in Fastcgipp::Exceptions::SocketWrite, and Fastcgipp::Exceptions::SocketRead.
int Fastcgipp::Exceptions::Socket::erno [protected] |
Associated errno.
Definition at line 136 of file exceptions.hpp.
Referenced by getErrno(), Fastcgipp::Exceptions::SocketRead::SocketRead(), and Fastcgipp::Exceptions::SocketWrite::SocketWrite().
int Fastcgipp::Exceptions::Socket::fd [protected] |
File descriptor of socket.
Definition at line 134 of file exceptions.hpp.
Referenced by getFd(), Fastcgipp::Exceptions::SocketRead::SocketRead(), and Fastcgipp::Exceptions::SocketWrite::SocketWrite().