|
fastcgi++
A C++ FastCGI/Web API
|
Data structure to hold the shared socket data. More...
Public Member Functions | |
| Data (const socket_t &socket, bool valid, SocketGroup &group) | |
| Sole constructor. More... | |
| Data ()=delete | |
| Data (const Data &)=delete | |
Public Attributes | |
| const socket_t | m_socket |
| OS level socket identifier. More... | |
| bool | m_valid |
| Indicates whether or not the socket is dead/invalid. More... | |
| bool | m_closing |
| Indicates whether or not the connection is closing. More... | |
| SocketGroup & | m_group |
| SocketGroup object this socket is tied to. More... | |
Data structure to hold the shared socket data.
Definition at line 90 of file sockets.hpp.
|
inline |
Sole constructor.
| [in,out] | socket | The OS level socket identifier to associate with this. |
| [in,out] | group | The SocketGroup object that created and is consolidating this socket and it's peers. |
| [in] | valid | Set to false if this is a dead socket. Sometimes it may be needed to create a socket that is invalid off the start. |
Definition at line 118 of file sockets.hpp.
References Data().
|
delete |
Referenced by Data().
|
delete |
| bool Fastcgipp::Socket::Data::m_closing |
Indicates whether or not the connection is closing.
If this is set to true that once we read zero bytes out of the socket it has become invalid.
Definition at line 103 of file sockets.hpp.
| SocketGroup& Fastcgipp::Socket::Data::m_group |
SocketGroup object this socket is tied to.
Definition at line 106 of file sockets.hpp.
| const socket_t Fastcgipp::Socket::Data::m_socket |
OS level socket identifier.
Definition at line 93 of file sockets.hpp.
| bool Fastcgipp::Socket::Data::m_valid |
Indicates whether or not the socket is dead/invalid.
Definition at line 96 of file sockets.hpp.
1.8.11