#include <CosEC_ProxyPushSupplier.h>


Public Member Functions | |
| TAO_Notify_CosEC_ProxyPushSupplier (void) | |
| Constructor. | |
| virtual | ~TAO_Notify_CosEC_ProxyPushSupplier () |
| Destructor. | |
| virtual const char * | get_proxy_type_name (void) const |
| virtual void | connect_push_consumer (CosEventComm::PushConsumer_ptr push_consumer) |
| virtual void | disconnect_push_supplier () |
| virtual void | validate () |
| virtual void | configure (TAO_Notify_ConsumerAdmin &admin, CosNotifyChannelAdmin::ProxyID_out proxy_id) |
Private Member Functions | |
| virtual void | release (void) |
| Release. | |
Friends | |
| class | TAO_Notify_Builder |
Definition at line 45 of file CosEC_ProxyPushSupplier.h.
| TAO_Notify_CosEC_ProxyPushSupplier::TAO_Notify_CosEC_ProxyPushSupplier | ( | void | ) |
| TAO_Notify_CosEC_ProxyPushSupplier::~TAO_Notify_CosEC_ProxyPushSupplier | ( | ) | [virtual] |
| void TAO_Notify_CosEC_ProxyPushSupplier::configure | ( | TAO_Notify_ConsumerAdmin & | admin, | |
| CosNotifyChannelAdmin::ProxyID_out | proxy_id | |||
| ) | [virtual] |
Definition at line 72 of file CosEC_ProxyPushSupplier.cpp.
{
// Nothing to do.
// This virtual method was added to support Notification MC
}
| void TAO_Notify_CosEC_ProxyPushSupplier::connect_push_consumer | ( | CosEventComm::PushConsumer_ptr | push_consumer | ) | [virtual] |
Definition at line 29 of file CosEC_ProxyPushSupplier.cpp.
{
// Convert Consumer to Base Type
TAO_Notify_PushConsumer* consumer;
ACE_NEW_THROW_EX (consumer,
TAO_Notify_PushConsumer (this),
CORBA::NO_MEMORY ());
consumer->init (push_consumer);
this->connect (consumer);
}
| void TAO_Notify_CosEC_ProxyPushSupplier::disconnect_push_supplier | ( | void | ) | [virtual] |
Definition at line 43 of file CosEC_ProxyPushSupplier.cpp.
{
TAO_Notify_CosEC_ProxyPushSupplier::Ptr guard( this );
this->destroy ();
}
| const char * TAO_Notify_CosEC_ProxyPushSupplier::get_proxy_type_name | ( | void | ) | const [virtual] |
Implements TAO_Notify_Proxy.
Definition at line 50 of file CosEC_ProxyPushSupplier.cpp.
{
return "ec_proxy_push_supplier";
}
| void TAO_Notify_CosEC_ProxyPushSupplier::release | ( | void | ) | [private, virtual] |
Release.
Definition at line 21 of file CosEC_ProxyPushSupplier.cpp.
{
delete this;
//@@ inform factory
}
| void TAO_Notify_CosEC_ProxyPushSupplier::validate | ( | ) | [virtual] |
Implements TAO_Notify_Proxy.
Definition at line 56 of file CosEC_ProxyPushSupplier.cpp.
{
TAO_Notify_Consumer* con = this->consumer ();
if (con != 0 && ! con->is_alive (true))
{
if (TAO_debug_level > 0)
{
ACE_DEBUG ((LM_DEBUG,
ACE_TEXT ("(%P|%t) TAO_Notify_CosEC_ProxyPushSupplier::validate(%d)")
ACE_TEXT ("disconnecting \n"), this->id ()));
}
this->disconnect_push_supplier ();
}
}
friend class TAO_Notify_Builder [friend] |
Definition at line 48 of file CosEC_ProxyPushSupplier.h.
1.7.0