#include <RT_StructuredProxyPushSupplier.h>


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_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 | ) | [virtual] |
Activate this object and obtain the Event_Forwarder interface.
Reimplemented from TAO_Notify_Proxy.
Definition at line 22 of file RT_StructuredProxyPushSupplier.cpp.
{
CORBA::Object_var object = TAO_Notify_Proxy::activate (servant);
// Obtain our ref.
CORBA::Object_var obj = this->ref ();
this->event_forwarder_ = Event_Forwarder::StructuredProxyPushSupplier::_narrow (obj.in ());
return object._retn ();
}
| 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.
{
return CORBA::Object::_nil ();
}
| 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.
{
try
{
request.event()->push (this->event_forwarder_.in ());
}
catch (const CORBA::Exception& ex)
{
if (TAO_debug_level > 2)
{
ex._tao_print_exception (
"(%P|%t) TAO_Notify_RT_StructuredProxyPushSupplier::push failed\n");
}
}
}
| 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.
{
try
{
event->push_no_filtering (this->event_forwarder_.in ());
}
catch (const CORBA::Exception& ex)
{
if (TAO_debug_level > 2)
{
ex._tao_print_exception (
"(%P|%t) TAO_Notify_RT_StructuredProxyPushSupplier::push failed\n");
}
}
}
Event_Forwarder::StructuredProxyPushSupplier_var TAO_Notify_RT_StructuredProxyPushSupplier::event_forwarder_ [private] |
Our ref.
Definition at line 57 of file RT_StructuredProxyPushSupplier.h.
1.7.0