#include <ProxyConsumer_T.h>
Public Member Functions | |
TAO_Notify_ProxyConsumer_T (void) | |
Constructor. | |
~TAO_Notify_ProxyConsumer_T () | |
Destructor. | |
virtual void | admin_types_changed (const CosNotification::EventTypeSeq &added, const CosNotification::EventTypeSeq &removed) |
Notification of subscriptions set at the admin. | |
virtual CosNotifyChannelAdmin::SupplierAdmin_ptr | MyAdmin (void) |
virtual CosNotification::EventTypeSeq * | obtain_subscription_types (CosNotifyChannelAdmin::ObtainInfoMode mode) |
virtual void | offer_change (const CosNotification::EventTypeSeq &added, const CosNotification::EventTypeSeq &removed) |
Definition at line 31 of file ProxyConsumer_T.h.
TAO_Notify_ProxyConsumer_T< SERVANT_TYPE >::TAO_Notify_ProxyConsumer_T | ( | void | ) |
TAO_Notify_ProxyConsumer_T< SERVANT_TYPE >::~TAO_Notify_ProxyConsumer_T | ( | ) |
void TAO_Notify_ProxyConsumer_T< SERVANT_TYPE >::admin_types_changed | ( | const CosNotification::EventTypeSeq & | added, | |
const CosNotification::EventTypeSeq & | removed | |||
) | [virtual] |
Notification of subscriptions set at the admin.
Implements TAO_Notify_Proxy.
Definition at line 24 of file ProxyConsumer_T.cpp.
{ this->offer_change (added, removed); }
CosNotifyChannelAdmin::SupplierAdmin_ptr TAO_Notify_ProxyConsumer_T< SERVANT_TYPE >::MyAdmin | ( | void | ) | [virtual] |
Definition at line 31 of file ProxyConsumer_T.cpp.
{ CosNotifyChannelAdmin::SupplierAdmin_var ret; CORBA::Object_var object = this->supplier_admin().ref (); ret = CosNotifyChannelAdmin::SupplierAdmin::_narrow (object.in ()); return ret._retn (); }
CosNotification::EventTypeSeq * TAO_Notify_ProxyConsumer_T< SERVANT_TYPE >::obtain_subscription_types | ( | CosNotifyChannelAdmin::ObtainInfoMode | mode | ) | [virtual] |
Definition at line 61 of file ProxyConsumer_T.cpp.
{ return this->obtain_types (mode, this->event_manager().subscription_types ()); }
void TAO_Notify_ProxyConsumer_T< SERVANT_TYPE >::offer_change | ( | const CosNotification::EventTypeSeq & | added, | |
const CosNotification::EventTypeSeq & | removed | |||
) | [virtual] |
Definition at line 43 of file ProxyConsumer_T.cpp.
{ TAO_Notify_EventTypeSeq seq_added (added); TAO_Notify_EventTypeSeq seq_removed (removed); { ACE_GUARD_THROW_EX (TAO_SYNCH_MUTEX, ace_mon, this->lock_, CORBA::INTERNAL ()); this->subscribed_types_.add_and_remove (seq_added, seq_removed); } this->event_manager().offer_change (this, seq_added, seq_removed); }