A base class for all Method Requests that are associated with events. More...
#include <Method_Request_Event.h>
Public Member Functions | |
TAO_Notify_Method_Request_Event (const TAO_Notify_Event *) | |
Construct from event. | |
TAO_Notify_Method_Request_Event (const TAO_Notify::Delivery_Request_Ptr &delivery_request) | |
Construct from a delivery request. | |
TAO_Notify_Method_Request_Event (const TAO_Notify_Method_Request_Event &rhs, const TAO_Notify_Event *event) | |
virtual | ~TAO_Notify_Method_Request_Event () |
Destructor. | |
const TAO_Notify_Event * | event () const |
void | complete () |
unsigned long | sequence () |
bool | should_retry () |
Protected Attributes | |
const TAO_Notify_Event * | event_ |
The Event. | |
TAO_Notify::Delivery_Request_Ptr | delivery_request_ |
Pointer to the routing slip's delivery request (if any). |
A base class for all Method Requests that are associated with events.
Definition at line 36 of file Method_Request_Event.h.
TAO_Notify_Method_Request_Event::TAO_Notify_Method_Request_Event | ( | const TAO_Notify_Event * | event | ) |
TAO_Notify_Method_Request_Event::TAO_Notify_Method_Request_Event | ( | const TAO_Notify::Delivery_Request_Ptr & | delivery_request | ) |
Construct from a delivery request.
Definition at line 16 of file Method_Request_Event.cpp.
: event_ (request->event ().get ()) , delivery_request_ (request) { }
TAO_Notify_Method_Request_Event::TAO_Notify_Method_Request_Event | ( | const TAO_Notify_Method_Request_Event & | rhs, | |
const TAO_Notify_Event * | event | |||
) |
Construct from another Method Request Event is passed separately because it may be a copy of the one in request.
Definition at line 23 of file Method_Request_Event.cpp.
: event_ (event) , delivery_request_ (rhs.delivery_request_) { }
TAO_Notify_Method_Request_Event::~TAO_Notify_Method_Request_Event | ( | ) | [virtual] |
void TAO_Notify_Method_Request_Event::complete | ( | ) |
Definition at line 36 of file Method_Request_Event.cpp.
{ if (this->delivery_request_.get () != 0) { this->delivery_request_->complete (); } }
const TAO_Notify_Event * TAO_Notify_Method_Request_Event::event | ( | ) | const |
Definition at line 97 of file Method_Request_Event.cpp.
{ return this->event_; }
unsigned long TAO_Notify_Method_Request_Event::sequence | ( | ) |
Definition at line 46 of file Method_Request_Event.cpp.
{ if (this->delivery_request_.get () != 0) { return this->delivery_request_->sequence (); } return 0; }
bool TAO_Notify_Method_Request_Event::should_retry | ( | ) |
Definition at line 56 of file Method_Request_Event.cpp.
{ if (this->delivery_request_.get () != 0) { return this->delivery_request_->should_retry (); } return false; }
Pointer to the routing slip's delivery request (if any).
Definition at line 66 of file Method_Request_Event.h.
const TAO_Notify_Event* TAO_Notify_Method_Request_Event::event_ [protected] |
The Event.
Definition at line 63 of file Method_Request_Event.h.