#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.
|
Construct from event.
Definition at line 10 of file Method_Request_Event.cpp.
00012 : event_ (event) 00013 { 00014 } |
|
Construct from a delivery request.
Definition at line 16 of file Method_Request_Event.cpp. References TAO_Notify::Delivery_Request_Ptr.
00018 : event_ (request->event ().get ()) 00019 , delivery_request_ (request) 00020 { 00021 } |
|
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 } |
|
Destructor.
Definition at line 31 of file Method_Request_Event.cpp.
00032 { 00033 } |
|
Definition at line 36 of file Method_Request_Event.cpp. References delivery_request_, and ACE_Strong_Bound_Ptr< X, ACE_LOCK >::get(). Referenced by 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 } |
|
Definition at line 97 of file Method_Request_Event.cpp. Referenced by TAO_Notify_Method_Request_Lookup_No_Copy::copy(), TAO_Notify_SequencePushConsumer::dispatch_from_queue(), and TAO_Notify_Consumer::dispatch_request().
00098 { 00099 return this->event_; 00100 } |
|
Definition at line 46 of file Method_Request_Event.cpp. References delivery_request_, and ACE_Strong_Bound_Ptr< X, ACE_LOCK >::get(). Referenced by TAO_Notify_SequencePushConsumer::dispatch_from_queue(), TAO_Notify_Consumer::dispatch_from_queue(), TAO_Notify_Consumer::dispatch_request(), 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 } |
|
Definition at line 56 of file Method_Request_Event.cpp. References delivery_request_, and ACE_Strong_Bound_Ptr< X, ACE_LOCK >::get(). 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 complete(), sequence(), and should_retry(). |
|
The Event.
Definition at line 63 of file Method_Request_Event.h. |