#include <RT_StructuredProxyPushSupplier.h>
Inheritance diagram for TAO_Notify_RT_StructuredProxyPushSupplier:
Public Member Functions | |
TAO_Notify_RT_StructuredProxyPushSupplier (void) | |
Constuctor. | |
~TAO_Notify_RT_StructuredProxyPushSupplier () | |
Destructor. | |
virtual CORBA::Object_ptr | activate (PortableServer::Servant servant) |
Activate this object and obtain the Event_Forwarder interface. | |
virtual CORBA::Object_ptr | activate (PortableServer::Servant servant, CORBA::Long id) |
Dummy method to prevent hidden TAO_Notify_Proxy::activate warning. | |
void | deliver (TAO_Notify_Method_Request_Dispatch_No_Copy &request) |
Dispatch Event to consumer. | |
virtual void | push_no_filtering (const TAO_Notify_Event *event) |
Dispatch Event to consumer, no filtering. | |
Private Attributes | |
Event_Forwarder::StructuredProxyPushSupplier_var | event_forwarder_ |
Our ref. |
|
Constuctor.
Definition at line 13 of file RT_StructuredProxyPushSupplier.cpp.
00014 { 00015 } |
|
Destructor.
Definition at line 17 of file RT_StructuredProxyPushSupplier.cpp.
00018 { 00019 } |
|
Dummy method to prevent hidden TAO_Notify_Proxy::activate warning.
Reimplemented from TAO_Notify_Proxy. Definition at line 35 of file RT_StructuredProxyPushSupplier.cpp. References CORBA::Object::_nil().
00037 { 00038 return CORBA::Object::_nil (); 00039 } |
|
Activate this object and obtain the Event_Forwarder interface.
Reimplemented from TAO_Notify_Proxy. Definition at line 22 of file RT_StructuredProxyPushSupplier.cpp. References TAO_Notify_Proxy::activate(), event_forwarder_, and TAO_Notify_Object::ref().
00023 { 00024 CORBA::Object_var object = TAO_Notify_Proxy::activate (servant); 00025 00026 // Obtain our ref. 00027 CORBA::Object_var obj = this->ref (); 00028 00029 this->event_forwarder_ = Event_Forwarder::StructuredProxyPushSupplier::_narrow (obj.in ()); 00030 00031 return object._retn (); 00032 } |
|
Dispatch Event to consumer.
Reimplemented from TAO_Notify_ProxySupplier. Definition at line 42 of file RT_StructuredProxyPushSupplier.cpp. References TAO_Notify_Method_Request_Event::event(), TAO_Notify_Event::push(), and TAO_debug_level.
00043 { 00044 try 00045 { 00046 request.event()->push (this->event_forwarder_.in ()); 00047 } 00048 catch (const CORBA::Exception& ex) 00049 { 00050 if (TAO_debug_level > 2) 00051 { 00052 ex._tao_print_exception ( 00053 "(%P|%t) TAO_Notify_RT_StructuredProxyPushSupplier::push failed\n"); 00054 } 00055 00056 } 00057 } |
|
Dispatch Event to consumer, no filtering.
Definition at line 60 of file RT_StructuredProxyPushSupplier.cpp. References TAO_Notify_Event::push_no_filtering(), and TAO_debug_level.
00061 { 00062 try 00063 { 00064 event->push_no_filtering (this->event_forwarder_.in ()); 00065 } 00066 catch (const CORBA::Exception& ex) 00067 { 00068 if (TAO_debug_level > 2) 00069 { 00070 ex._tao_print_exception ( 00071 "(%P|%t) TAO_Notify_RT_StructuredProxyPushSupplier::push failed\n"); 00072 } 00073 00074 } 00075 } |
|
Our ref.
Definition at line 57 of file RT_StructuredProxyPushSupplier.h. Referenced by activate(). |