Public Member Functions

TAO_Notify_ProxyConsumer_T< SERVANT_TYPE > Class Template Reference

#include <ProxyConsumer_T.h>

Inheritance diagram for TAO_Notify_ProxyConsumer_T< SERVANT_TYPE >:
Inheritance graph
[legend]
Collaboration diagram for TAO_Notify_ProxyConsumer_T< SERVANT_TYPE >:
Collaboration graph
[legend]

List of all members.

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)

Detailed Description

template<class SERVANT_TYPE>
class TAO_Notify_ProxyConsumer_T< SERVANT_TYPE >

Definition at line 31 of file ProxyConsumer_T.h.


Constructor & Destructor Documentation

template<class SERVANT_TYPE >
TAO_Notify_ProxyConsumer_T< SERVANT_TYPE >::TAO_Notify_ProxyConsumer_T ( void   ) 

Constructor.

Definition at line 14 of file ProxyConsumer_T.cpp.

{
}

template<class SERVANT_TYPE >
TAO_Notify_ProxyConsumer_T< SERVANT_TYPE >::~TAO_Notify_ProxyConsumer_T (  ) 

Destructor.

Definition at line 19 of file ProxyConsumer_T.cpp.

{
}


Member Function Documentation

template<class SERVANT_TYPE >
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);
}

template<class SERVANT_TYPE >
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 ();
}

template<class SERVANT_TYPE >
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 ());
}

template<class SERVANT_TYPE >
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);
}


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines