Fastcgipp::Message Struct Reference

Data structure used to pass messages within the fastcgi++ task management system. More...

#include <protocol.hpp>

List of all members.

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.


Detailed Description

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 420 of file protocol.hpp.


Member Data Documentation

boost::shared_array<char> Fastcgipp::Message::data

Pointer to the raw data being passed along with the message.

Definition at line 427 of file protocol.hpp.

Referenced by Fastcgipp::Transceiver::handler(), Fastcgipp::Request< charT >::handler(), and Fastcgipp::Manager< T >::push().

Size of the data section.

Definition at line 425 of file protocol.hpp.

Referenced by Fastcgipp::Transceiver::handler().

Type of message. A 0 means FastCGI record. Anything else is open.

Definition at line 423 of file protocol.hpp.

Referenced by Fastcgipp::Transceiver::handler(), Fastcgipp::Request< charT >::handler(), and Fastcgipp::Manager< T >::push().


The documentation for this struct was generated from the following file:

Generated on Thu Dec 11 01:47:28 2008 for fastcgi++ by  doxygen 1.5.7.1