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() More... | |
virtual Pointer | clone () const =0 |
returns a copy of this More... | |
Public Attributes | |
int | requestorId = 0 |
kidId of the requestor; used for response destination More... | |
RequestId | requestId |
matches the request[or] with the response More... | |
Protected Member Functions | |
Request (const int aRequestorId, const RequestId aRequestId) | |
sender's constructor More... | |
Request ()=default | |
recipient's constructor More... | |
Detailed Description
Member Typedef Documentation
◆ Pointer
typedef RefCount<Request> Ipc::Request::Pointer |
Constructor & Destructor Documentation
◆ Request() [1/2]
◆ Request() [2/2]
|
protecteddefault |
Member Function Documentation
◆ clone()
|
pure virtual |
Implemented in Mgr::Request, and Snmp::Request.
◆ pack()
|
pure virtual |
Implemented in Mgr::Request, and Snmp::Request.
Member Data Documentation
◆ requestId
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().
◆ requestorId
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().
The documentation for this class was generated from the following file:
- src/ipc/Request.h