IPC request. More...

#include <Request.h>

Inheritance diagram for Ipc::Request:
Collaboration diagram for Ipc::Request:

Public Types

typedef RefCount< RequestPointer
 

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

Definition at line 27 of file Request.h.

Member Typedef Documentation

◆ Pointer

Definition at line 30 of file Request.h.

Constructor & Destructor Documentation

◆ Request() [1/2]

Ipc::Request::Request ( const int  aRequestorId,
const RequestId  aRequestId 
)
inlineprotected

Definition at line 42 of file Request.h.

◆ Request() [2/2]

Ipc::Request::Request ( )
protecteddefault

Member Function Documentation

◆ clone()

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

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

◆ pack()

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

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

Member Data Documentation

◆ requestId

◆ requestorId

int Ipc::Request::requestorId = 0

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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors