Fastcgipp::Protocol::FullId Struct Reference

A full ID value for a FastCGI request. More...

#include <protocol.hpp>

List of all members.

Public Member Functions

 FullId (RequestId fcgiId_, int fd_)
 Construct from a FastCGI RequestID and a file descriptor.
 FullId ()

Public Attributes

RequestId fcgiId
 FastCGI Request ID.
uint16_t fd
 Associated File Descriptor.


Detailed Description

A full ID value for a FastCGI request.

Because each FastCGI request has a RequestID and a file descriptor associated with it, this class defines an ID value that encompasses both. The file descriptor is stored internally as a 16 bit unsigned integer in order to keep the data structures size at 32 bits for optimized indexing.

Definition at line 48 of file protocol.hpp.


Constructor & Destructor Documentation

Fastcgipp::Protocol::FullId::FullId ( RequestId  fcgiId_,
int  fd_ 
) [inline]

Construct from a FastCGI RequestID and a file descriptor.

The constructor builds upon a RequestID and the file descriptor it is communicating through.

Parameters:
[in] fcgiId_ The FastCGI request ID
[in] fd_ The file descriptor

Definition at line 58 of file protocol.hpp.

Fastcgipp::Protocol::FullId::FullId (  )  [inline]

Definition at line 59 of file protocol.hpp.


Member Data Documentation

Associated File Descriptor.

Definition at line 63 of file protocol.hpp.


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

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