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...
 
void pack (Ipc::TypedMsgHdr &msg) const override
 prepare for sendmsg() More...
 
Pointer clone () const override
 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 23 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 Request.cc.

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

◆ Request() [2/2]

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

Member Function Documentation

◆ clone()

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

Implements Ipc::Request.

Definition at line 55 of file Request.cc.

◆ pack()

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

Member Data Documentation

◆ conn

◆ params

ActionParams Mgr::Request::params

◆ requestId

◆ requestorId

int Ipc::Request::requestorId = 0
inherited

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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors