#include <CEC_TypedSupplierAdmin.h>
Collaboration diagram for TAO_CEC_TypedSupplierAdmin:
Public Member Functions | |
TAO_CEC_TypedSupplierAdmin (TAO_CEC_TypedEventChannel *event_channel) | |
virtual | ~TAO_CEC_TypedSupplierAdmin (void) |
void | for_each (TAO_ESF_Worker< TAO_CEC_TypedProxyPushConsumer > *worker) |
For each elements call <worker->work()>. | |
virtual void | connected (TAO_CEC_TypedProxyPushConsumer *) |
Keep track of connected consumers. | |
virtual void | reconnected (TAO_CEC_TypedProxyPushConsumer *) |
virtual void | disconnected (TAO_CEC_TypedProxyPushConsumer *) |
virtual void | shutdown (void) |
virtual CosTypedEventChannelAdmin::TypedProxyPushConsumer_ptr | obtain_typed_push_consumer (const char *supported_interface) |
virtual CosEventChannelAdmin::ProxyPullConsumer_ptr | obtain_typed_pull_consumer (const char *uses_interface) |
virtual CosEventChannelAdmin::ProxyPushConsumer_ptr | obtain_push_consumer (void) |
virtual CosEventChannelAdmin::ProxyPullConsumer_ptr | obtain_pull_consumer (void) |
virtual PortableServer::POA_ptr | _default_POA (void) |
Private Attributes | |
TAO_CEC_TypedEventChannel * | typed_event_channel_ |
The Event Channel we belong to. | |
PortableServer::POA_var | default_POA_ |
Store the default POA. | |
TAO_ESF_Proxy_Admin< TAO_CEC_TypedEventChannel, TAO_CEC_TypedProxyPushConsumer, CosTypedEventChannelAdmin::TypedProxyPushConsumer > | typed_push_admin_ |
The push and pull aspects are implemented using these classes. |
|
Definition at line 14 of file CEC_TypedSupplierAdmin.cpp. References TAO_CEC_TypedEventChannel::typed_supplier_poa().
00015 : typed_event_channel_ (ec), 00016 typed_push_admin_ (ec) 00017 { 00018 this->default_POA_ = 00019 this->typed_event_channel_->typed_supplier_poa (); 00020 } |
|
Definition at line 23 of file CEC_TypedSupplierAdmin.cpp.
00024 { 00025 } |
|
Definition at line 28 of file CEC_TypedSupplierAdmin.cpp. Referenced by TAO_CEC_TypedEventChannel::shutdown().
00029 {
00030 return PortableServer::POA::_duplicate (this->default_POA_.in ());
00031 }
|
|
Keep track of connected consumers.
Definition at line 34 of file CEC_TypedSupplierAdmin.cpp. Referenced by TAO_CEC_TypedEventChannel::connected().
00035 { 00036 this->typed_push_admin_.connected (consumer); 00037 } |
|
Definition at line 46 of file CEC_TypedSupplierAdmin.cpp. Referenced by TAO_CEC_TypedEventChannel::disconnected().
00047 { 00048 this->typed_push_admin_.disconnected (consumer); 00049 } |
|
For each elements call <worker->work()>.
Definition at line 9 of file CEC_TypedSupplierAdmin.inl.
00010 { 00011 this->typed_push_admin_.for_each (worker); 00012 } |
|
Definition at line 89 of file CEC_TypedSupplierAdmin.cpp.
00090 {
00091 throw CORBA::NO_IMPLEMENT ();
00092 }
|
|
Definition at line 83 of file CEC_TypedSupplierAdmin.cpp.
00084 {
00085 throw CORBA::NO_IMPLEMENT ();
00086 }
|
|
Definition at line 74 of file CEC_TypedSupplierAdmin.cpp.
00078 {
00079 throw CosTypedEventChannelAdmin::NoSuchImplementation ();
00080 }
|
|
Definition at line 58 of file CEC_TypedSupplierAdmin.cpp. References TAO_CEC_TypedEventChannel::supplier_register_supported_interface().
00062 { 00063 int result = this->typed_event_channel_->supplier_register_supported_interface (supported_interface); 00064 00065 if (result == -1) 00066 { 00067 throw CosTypedEventChannelAdmin::InterfaceNotSupported (); 00068 } 00069 00070 return this->typed_push_admin_.obtain (); 00071 } |
|
Definition at line 40 of file CEC_TypedSupplierAdmin.cpp. Referenced by TAO_CEC_TypedEventChannel::reconnected().
00041 { 00042 this->typed_push_admin_.reconnected (consumer); 00043 } |
|
The typed event channel is shutting down, inform all the consumers of this Definition at line 52 of file CEC_TypedSupplierAdmin.cpp. Referenced by TAO_CEC_TypedEventChannel::shutdown().
00053 { 00054 this->typed_push_admin_.shutdown (); 00055 } |
|
Store the default POA.
Definition at line 80 of file CEC_TypedSupplierAdmin.h. |
|
The Event Channel we belong to.
Definition at line 77 of file CEC_TypedSupplierAdmin.h. |
|
The push and pull aspects are implemented using these classes.
Definition at line 86 of file CEC_TypedSupplierAdmin.h. |