cache manager request More...

#include <Request.h>

Inheritance diagram for Mgr::Request:
Collaboration diagram for Mgr::Request:

Public Types

typedef RefCount< RequestPointer

Public Member Functions

 Request (int aRequestorId, Ipc::RequestId, const Comm::ConnectionPointer &aConn, const ActionParams &aParams)
 Request (const Ipc::TypedMsgHdr &msg)
 from recvmsg() More...
virtual void pack (Ipc::TypedMsgHdr &msg) const
 prepare for sendmsg() More...
virtual Pointer clone () const
 returns a copy of this More...

Public Attributes

Comm::ConnectionPointer conn
 HTTP client connection descriptor. More...
ActionParams params
 action name and parameters More...
int requestorId = 0
 kidId of the requestor; used for response destination More...
RequestId requestId
 matches the request[or] with the response More...

Detailed Description

Definition at line 22 of file Request.h.

Member Typedef Documentation

◆ Pointer

Definition at line 30 of file Request.h.

Constructor & Destructor Documentation

◆ Request() [1/2]

Mgr::Request::Request ( int  aRequestorId,
Ipc::RequestId  aRequestId,
const Comm::ConnectionPointer aConn,
const ActionParams aParams 

Definition at line 19 of file

References Must, and Ipc::Request::requestorId.

◆ Request() [2/2]

Mgr::Request::Request ( const Ipc::TypedMsgHdr msg)

Member Function Documentation

◆ clone()

Ipc::Request::Pointer Mgr::Request::clone ( ) const

Implements Ipc::Request.

Definition at line 55 of file

◆ pack()

void Mgr::Request::pack ( Ipc::TypedMsgHdr msg) const

Member Data Documentation

◆ conn

Comm::ConnectionPointer Mgr::Request::conn

Definition at line 34 of file Request.h.

Referenced by Mgr::Inquirer::Inquirer().

◆ params

ActionParams Mgr::Request::params

Definition at line 36 of file Request.h.

◆ requestId

RequestId Ipc::Request::requestId

Definition at line 38 of file Request.h.

◆ requestorId

int Ipc::Request::requestorId = 0

Definition at line 37 of file Request.h.

Referenced by Request().

The documentation for this class was generated from the following files:






Web Site Translations