#include <RT_StructuredProxyPushSupplier.h>
Inheritance diagram for TAO_Notify_RT_StructuredProxyPushSupplier:
Public Member Functions | |
TAO_Notify_RT_StructuredProxyPushSupplier (void) | |
Constructor. | |
~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. |
Definition at line 32 of file RT_StructuredProxyPushSupplier.h.
TAO_BEGIN_VERSIONED_NAMESPACE_DECL TAO_Notify_RT_StructuredProxyPushSupplier::TAO_Notify_RT_StructuredProxyPushSupplier | ( | void | ) |
TAO_Notify_RT_StructuredProxyPushSupplier::~TAO_Notify_RT_StructuredProxyPushSupplier | ( | ) |
CORBA::Object_ptr TAO_Notify_RT_StructuredProxyPushSupplier::activate | ( | PortableServer::Servant | servant, | |
CORBA::Long | id | |||
) | [virtual] |
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 }
CORBA::Object_ptr TAO_Notify_RT_StructuredProxyPushSupplier::activate | ( | PortableServer::Servant | servant | ) | [virtual] |
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_Pseudo_Var_T< T >::_retn(), TAO_Notify_Proxy::activate(), event_forwarder_, TAO_Pseudo_Var_T< T >::in(), TAO_Notify_Object::ref(), and TAO_Notify_Proxy_T< POA_Event_Forwarder::StructuredProxyPushSupplier >::servant().
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 }
void TAO_Notify_RT_StructuredProxyPushSupplier::deliver | ( | TAO_Notify_Method_Request_Dispatch_No_Copy & | request | ) | [virtual] |
Dispatch Event to consumer.
Reimplemented from TAO_Notify_ProxySupplier.
Definition at line 42 of file RT_StructuredProxyPushSupplier.cpp.
References CORBA::Exception::_tao_print_exception(), 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 }
void TAO_Notify_RT_StructuredProxyPushSupplier::push_no_filtering | ( | const TAO_Notify_Event * | event | ) | [virtual] |
Dispatch Event to consumer, no filtering.
Definition at line 60 of file RT_StructuredProxyPushSupplier.cpp.
References CORBA::Exception::_tao_print_exception(), 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 }
Event_Forwarder::StructuredProxyPushSupplier_var TAO_Notify_RT_StructuredProxyPushSupplier::event_forwarder_ [private] |