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, unsigned int aRequestId, 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
 kidId of the requestor; used for response destination More...
unsigned int requestId
 unique for sender; matches request w/ response More...

Private Member Functions

 Request (const Request &request)

Detailed Description

Definition at line 22 of file Request.h.

Member Typedef Documentation

◆ Pointer

Definition at line 24 of file Request.h.

Constructor & Destructor Documentation

◆ Request() [1/3]

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

Definition at line 19 of file

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

◆ Request() [2/3]

◆ Request() [3/3]

Mgr::Request::Request ( const Request request)

Definition at line 28 of file

Member Function Documentation

◆ clone()

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

Implements Ipc::Request.

Definition at line 60 of file

◆ pack()

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

Member Data Documentation

◆ conn

Comm::ConnectionPointer Mgr::Request::conn

Definition at line 37 of file Request.h.

Referenced by Mgr::Inquirer::Inquirer(), and Request().

◆ params

ActionParams Mgr::Request::params

Definition at line 39 of file Request.h.

Referenced by Request().

◆ requestId

unsigned int Ipc::Request::requestId

Definition at line 39 of file Request.h.

Referenced by Request(), and Snmp::Request::Request().

◆ requestorId

int Ipc::Request::requestorId

Definition at line 38 of file Request.h.

Referenced by Snmp::Request::Request(), and Request().

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






Web Site Translations