A response to Ipc::Request. More...
#include <Response.h>
Public Types | |
typedef RefCount< Response > | 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... | |
QuestionerId | intendedRecepient () const |
for Mine() tests More... | |
Public Attributes | |
RequestId | requestId |
the ID of the request we are responding to More... | |
Protected Member Functions | |
Response (const RequestId aRequestId) | |
sender's constructor More... | |
Response ()=default | |
recipient's constructor More... | |
Detailed Description
Definition at line 23 of file Response.h.
Member Typedef Documentation
◆ Pointer
typedef RefCount<Response> Ipc::Response::Pointer |
Definition at line 26 of file Response.h.
Constructor & Destructor Documentation
◆ Response() [1/2]
|
inlineexplicitprotected |
Definition at line 40 of file Response.h.
◆ Response() [2/2]
|
protecteddefault |
Member Function Documentation
◆ clone()
|
pure virtual |
Implemented in Mgr::Response, and Snmp::Response.
◆ intendedRecepient()
|
inline |
Definition at line 33 of file Response.h.
References Ipc::RequestId::questioner(), and requestId.
◆ pack()
|
pure virtual |
Implemented in Mgr::Response, and Snmp::Response.
Member Data Documentation
◆ requestId
RequestId Ipc::Response::requestId |
Definition at line 36 of file Response.h.
Referenced by Ipc::Strand::handleCacheMgrResponse(), Ipc::Inquirer::HandleRemoteAck(), Ipc::Strand::handleSnmpResponse(), and intendedRecepient().
The documentation for this class was generated from the following file:
- src/ipc/Response.h