|
Squid Web Cache master
|
cache manager request More...
#include <Request.h>
Public Types | |
| typedef RefCount< Request > | Pointer |
Public Member Functions | |
| Request (int aRequestorId, Ipc::RequestId, const Comm::ConnectionPointer &aConn, const ActionParams &aParams) | |
| Request (const Ipc::TypedMsgHdr &msg) | |
| from recvmsg() | |
| void | pack (Ipc::TypedMsgHdr &msg) const override |
| prepare for sendmsg() | |
| Pointer | clone () const override |
| returns a copy of this | |
Public Attributes | |
| Comm::ConnectionPointer | conn |
| HTTP client connection descriptor. | |
| ActionParams | params |
| action name and parameters | |
| int | requestorId = 0 |
| kidId of the requestor; used for response destination | |
| RequestId | requestId |
| matches the request[or] with the response | |
|
inherited |
| 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.
|
explicit |
Definition at line 30 of file Request.cc.
References Ipc::TypedMsgHdr::checkType(), Comm::Connection::fd, Ipc::TypedMsgHdr::getFd(), Ipc::TypedMsgHdr::getPod(), and Ipc::mtCacheMgrRequest.
|
overridevirtual |
Implements Ipc::Request.
Definition at line 55 of file Request.cc.
|
overridevirtual |
Implements Ipc::Request.
Definition at line 44 of file Request.cc.
References Ipc::mtCacheMgrRequest, Ipc::TypedMsgHdr::putFd(), Ipc::TypedMsgHdr::putPod(), and Ipc::TypedMsgHdr::setType().
| Comm::ConnectionPointer Mgr::Request::conn |
Definition at line 35 of file Request.h.
Referenced by Mgr::Inquirer::Inquirer(), Ipc::Coordinator::handleCacheMgrRequest(), Mgr::Action::respond(), Mgr::FunAction::respond(), and Mgr::InfoAction::respond().
| ActionParams Mgr::Request::params |
Definition at line 37 of file Request.h.
Referenced by Ipc::Coordinator::handleCacheMgrRequest(), and Ipc::Strand::handleCacheMgrRequest().
|
inherited |
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().
|
inherited |
Definition at line 37 of file Request.h.
Referenced by Request(), Ipc::Coordinator::handleCacheMgrRequest(), and Ipc::Coordinator::handleSnmpRequest().