|
Squid Web Cache master
|
IPC request. More...
#include <Request.h>
Public Types | |
| typedef RefCount< Request > | Pointer |
Public Member Functions | |
| virtual void | pack (TypedMsgHdr &msg) const =0 |
| prepare for sendmsg() | |
| virtual Pointer | clone () const =0 |
| returns a copy of this | |
Public Attributes | |
| int | requestorId = 0 |
| kidId of the requestor; used for response destination | |
| RequestId | requestId |
| matches the request[or] with the response | |
Protected Member Functions | |
| Request (const int aRequestorId, const RequestId aRequestId) | |
| sender's constructor | |
| Request ()=default | |
| recipient's constructor | |
| typedef RefCount<Request> Ipc::Request::Pointer |
|
protecteddefault |
|
pure virtual |
Implemented in Mgr::Request, and Snmp::Request.
|
pure virtual |
Implemented in Mgr::Request, and Snmp::Request.
| RequestId Ipc::Request::requestId |
Definition at line 38 of file Request.h.
Referenced by Ipc::Coordinator::handleCacheMgrRequest(), Ipc::Coordinator::handleSnmpRequest(), Ipc::Strand::handleSnmpRequest(), Mgr::Action::respond(), Mgr::FunAction::respond(), and Mgr::InfoAction::respond().
| int Ipc::Request::requestorId = 0 |
Definition at line 37 of file Request.h.
Referenced by Mgr::Request::Request(), Ipc::Coordinator::handleCacheMgrRequest(), and Ipc::Coordinator::handleSnmpRequest().