fastcgi++
|
Data structure used to pass messages within the fastcgi++ task management system. More...
#include <message.hpp>
Public Member Functions | |
Message (const int type_) | |
Message () |
Public Attributes | |
int | type |
Type of message. A 0 means FastCGI record. Anything else is open. | |
size_t | size |
Size of the data section. | |
boost::shared_array< char > | data |
Pointer to the raw data being passed along with the message. |
Data structure used to pass messages within the fastcgi++ task management system.
This data structure is crucial to all operation in the FastCGI library as all data passed to requests must be encapsulated in this data structure. A type value of 0 means that the message is a FastCGI record and will be processed at a low level by the library. Any other type value and the message will be passed up to the user to be processed. The data may contain any data that can be casted to/from a raw character array. The size obviously represents the exact size of the data section.
Definition at line 38 of file message.hpp.
|
inline |
Definition at line 40 of file message.hpp.
|
inline |
Definition at line 41 of file message.hpp.
boost::shared_array<char> Fastcgipp::Message::data |
Pointer to the raw data being passed along with the message.
Definition at line 47 of file message.hpp.
Referenced by Fastcgipp::ManagerPar::localHandler(), and Fastcgipp::Manager< T >::push().
size_t Fastcgipp::Message::size |
Size of the data section.
Definition at line 45 of file message.hpp.
Referenced by Fastcgipp::Transceiver::handler().
int Fastcgipp::Message::type |
Type of message. A 0 means FastCGI record. Anything else is open.
Definition at line 43 of file message.hpp.
Referenced by Fastcgipp::Transceiver::handler(), and Fastcgipp::Manager< T >::push().