#include <Response.h>

Inheritance diagram for Mgr::Response:
Collaboration diagram for Mgr::Response:

Public Types

typedef RefCount< ResponsePointer

Public Member Functions

 Response (unsigned int aRequestId, Action::Pointer anAction=NULL)
 Response (const Ipc::TypedMsgHdr &msg)
 from recvmsg() More...
virtual void pack (Ipc::TypedMsgHdr &msg) const
 prepare for sendmsg() More...
virtual Ipc::Response::Pointer clone () const
 returns a copy of this More...
bool hasAction () const
 whether response contain action object More...
const ActiongetAction () const
 returns action object More...

Public Attributes

Action::Pointer action
 action relating to response More...
unsigned int requestId
 ID of request we are responding to. More...

Private Member Functions

 Response (const Response &response)

Detailed Description

A response to Mgr::Request. May carry strand action data to be aggregated with data from other strands.

Definition at line 23 of file Response.h.

Member Typedef Documentation

◆ Pointer

Definition at line 24 of file Response.h.

Constructor & Destructor Documentation

◆ Response() [1/3]

Mgr::Response::Response ( unsigned int  aRequestId,
Action::Pointer  anAction = NULL 

Definition at line 20 of file Response.cc.

References action, and Must.

◆ Response() [2/3]

◆ Response() [3/3]

Mgr::Response::Response ( const Response response)

Definition at line 26 of file Response.cc.

Member Function Documentation

◆ clone()

Ipc::Response::Pointer Mgr::Response::clone ( ) const

Implements Ipc::Response.

Definition at line 60 of file Response.cc.

◆ getAction()

const Mgr::Action & Mgr::Response::getAction ( ) const

Definition at line 72 of file Response.cc.

References action(), and Must.

Referenced by Mgr::Inquirer::aggregate().

◆ hasAction()

bool Mgr::Response::hasAction ( ) const

Definition at line 66 of file Response.cc.

References action(), and NULL.

Referenced by Mgr::Inquirer::aggregate(), and Response().

◆ pack()

void Mgr::Response::pack ( Ipc::TypedMsgHdr msg) const

Member Data Documentation

◆ action

Action::Pointer Mgr::Response::action

Definition at line 41 of file Response.h.

Referenced by Response().

◆ requestId

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






Web Site Translations