fastcgi++
A C++ FastCGI/Web API
Classes | Public Member Functions | Public Attributes | List of all members
Fastcgipp::Protocol::RequestId Struct Reference

A unique identifier for each FastCGI request. More...

#include <fastcgi++/protocol.hpp>

Classes

struct  Less
 We need this uglyness to find ranges based purely on the socket. More...
 

Public Member Functions

 RequestId (FcgiId id, const Socket &socket)
 Construct from an FcgiId and a Socket. More...
 
 RequestId (const RequestId &x)
 
 RequestId ()
 
RequestIdoperator= (const RequestId &x)
 

Public Attributes

Socket m_socket
 Associated socket. More...
 
FcgiId m_id
 Internal FastCGI request ID. More...
 

Detailed Description

A unique identifier for each FastCGI request.

Because each FastCGI request has both a RequestID and a Socket associated with it, this class defines an ID value that encompasses both.

Date
May 6, 2016
Author
Eddie Carle <eddie.nosp@m.@isa.nosp@m.tec.c.nosp@m.a>

Definition at line 71 of file protocol.hpp.

Constructor & Destructor Documentation

Fastcgipp::Protocol::RequestId::RequestId ( FcgiId  id,
const Socket socket 
)
inline

Construct from an FcgiId and a Socket.

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

Parameters
[in]idThe internal FastCGI request ID.
[in]socketThe associated socket.

Definition at line 81 of file protocol.hpp.

Fastcgipp::Protocol::RequestId::RequestId ( const RequestId x)
inline

Definition at line 88 of file protocol.hpp.

Fastcgipp::Protocol::RequestId::RequestId ( )
inline

Definition at line 93 of file protocol.hpp.

Member Function Documentation

RequestId& Fastcgipp::Protocol::RequestId::operator= ( const RequestId x)
inline

Definition at line 98 of file protocol.hpp.

References m_id, and m_socket.

Member Data Documentation

FcgiId Fastcgipp::Protocol::RequestId::m_id

Internal FastCGI request ID.

Definition at line 109 of file protocol.hpp.

Referenced by Fastcgipp::Protocol::RequestId::Less::operator()(), and operator=().

Socket Fastcgipp::Protocol::RequestId::m_socket

Associated socket.

Definition at line 106 of file protocol.hpp.

Referenced by Fastcgipp::Protocol::RequestId::Less::operator()(), and operator=().


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