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 Request.cc.

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

Referenced by clone().

◆ Request() [2/3]

◆ Request() [3/3]

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

Definition at line 28 of file Request.cc.

Member Function Documentation

◆ clone()

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

Implements Ipc::Request.

Definition at line 60 of file Request.cc.

References Request().

◆ pack()

Member Data Documentation

◆ conn

◆ params

ActionParams Mgr::Request::params

◆ requestId

◆ requestorId


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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors