cache manager request

#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

Definition at line 24 of file Request.h.

Constructor & Destructor Documentation

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.

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

Definition at line 28 of file

Member Function Documentation

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

Implements Ipc::Request.

Definition at line 60 of file

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

Member Data Documentation

ActionParams Mgr::Request::params
int Ipc::Request::requestorId

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






Web Site Translations