#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

Definition at line 24 of file Response.h.

Constructor & Destructor Documentation

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

Definition at line 20 of file Response.cc.

References action, and Must.

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

Definition at line 26 of file Response.cc.

Member Function Documentation

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

Implements Ipc::Response.

Definition at line 60 of file Response.cc.

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

Definition at line 72 of file Response.cc.

References action(), and Must.

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

bool Mgr::Response::hasAction ( ) const

Definition at line 66 of file Response.cc.

References action(), and NULL.

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

Member Data Documentation

Action::Pointer Mgr::Response::action

Definition at line 41 of file Response.h.

Referenced by Response().

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






Web Site Translations