fastcgi++
Public Member Functions | Public Attributes
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 64 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 74 of file protocol.hpp.

Fastcgipp::Protocol::FullId::FullId ( )
inline

Definition at line 75 of file protocol.hpp.


Member Data Documentation

RequestId Fastcgipp::Protocol::FullId::fcgiId
uint16_t Fastcgipp::Protocol::FullId::fd

Associated File Descriptor.

Definition at line 79 of file protocol.hpp.


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