A response to Ipc::Request. More...

#include <Response.h>

Inheritance diagram for Ipc::Response:
Collaboration diagram for Ipc::Response:

Public Types

typedef RefCount< ResponsePointer

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

Definition at line 26 of file Response.h.

Constructor & Destructor Documentation

◆ Response() [1/2]

Ipc::Response::Response ( const RequestId  aRequestId)

Definition at line 40 of file Response.h.

◆ Response() [2/2]

Ipc::Response::Response ( )

Member Function Documentation

◆ clone()

virtual Pointer Ipc::Response::clone ( ) const
pure virtual

Implemented in Mgr::Response, and Snmp::Response.

◆ intendedRecepient()

QuestionerId Ipc::Response::intendedRecepient ( ) const

Definition at line 33 of file Response.h.

References Ipc::RequestId::questioner(), and requestId.

◆ pack()

virtual void Ipc::Response::pack ( TypedMsgHdr msg) const
pure virtual

Implemented in Mgr::Response, and Snmp::Response.

Member Data Documentation

◆ requestId

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






Web Site Translations