#include <Method_Request_Event.h>
Inheritance diagram for TAO_Notify_Method_Request_Event:
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). |
Definition at line 36 of file Method_Request_Event.h.
TAO_BEGIN_VERSIONED_NAMESPACE_DECL TAO_Notify_Method_Request_Event::TAO_Notify_Method_Request_Event | ( | const TAO_Notify_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.
00018 : event_ (request->event ().get ()) 00019 , delivery_request_ (request) 00020 { 00021 }
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.
00026 : event_ (event) 00027 , delivery_request_ (rhs.delivery_request_) 00028 { 00029 }
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.
Referenced by TAO_Notify_Consumer::deliver(), TAO_Notify_SequencePushConsumer::dispatch_from_queue(), TAO_Notify_Consumer::dispatch_from_queue(), and TAO_Notify_Method_Request_Lookup::execute_i().
00037 { 00038 if (this->delivery_request_.get () != 0) 00039 { 00040 this->delivery_request_->complete (); 00041 } 00042 }
const TAO_Notify_Event * TAO_Notify_Method_Request_Event::event | ( | ) | const |
Definition at line 97 of file Method_Request_Event.cpp.
References event_.
Referenced by TAO_Notify_Method_Request_Lookup_No_Copy::copy(), TAO_Notify_RT_StructuredProxyPushSupplier::deliver(), TAO_Notify_SequencePushConsumer::dispatch_from_queue(), TAO_Notify_Consumer::dispatch_request(), TAO_Notify_Consumer::enqueue_if_necessary(), and TAO_Notify_Consumer::enqueue_request().
00098 { 00099 return this->event_; 00100 }
unsigned long TAO_Notify_Method_Request_Event::sequence | ( | ) |
Definition at line 46 of file Method_Request_Event.cpp.
Referenced by TAO_Notify_Consumer::deliver(), TAO_Notify_SequencePushConsumer::dispatch_from_queue(), TAO_Notify_Consumer::dispatch_from_queue(), TAO_Notify_Consumer::dispatch_request(), TAO_Notify_Consumer::enqueue_if_necessary(), and TAO_Notify_Consumer::enqueue_request().
00047 { 00048 if (this->delivery_request_.get () != 0) 00049 { 00050 return this->delivery_request_->sequence (); 00051 } 00052 return 0; 00053 }
bool TAO_Notify_Method_Request_Event::should_retry | ( | ) |
Definition at line 56 of file Method_Request_Event.cpp.
Referenced by TAO_Notify_SequencePushConsumer::dispatch_from_queue(), and TAO_Notify_Consumer::dispatch_request().
00057 { 00058 if (this->delivery_request_.get () != 0) 00059 { 00060 return this->delivery_request_->should_retry (); 00061 } 00062 return false; 00063 }
Pointer to the routing slip's delivery request (if any).
Definition at line 66 of file Method_Request_Event.h.
Referenced by TAO_Notify_Method_Request_Lookup::work().
const TAO_Notify_Event* TAO_Notify_Method_Request_Event::event_ [protected] |