#include <CEC_SupplierAdmin.h>
Collaboration diagram for TAO_CEC_SupplierAdmin:
Implement the CosEventChannelAdmin::SupplierAdmin interface. This class is an Abstract Factory for the TAO_CEC_ProxyPushConsumer. = MEMORY MANAGMENT It does not assume ownership of the TAO_CEC_EventChannel object = LOCKING @ TODO No provisions for locking, access must be serialized externally. = TODO
Definition at line 54 of file CEC_SupplierAdmin.h.
|
constructor...
Definition at line 20 of file CEC_SupplierAdmin.cpp. References TAO_CEC_EventChannel::supplier_poa().
00021 : event_channel_ (ec), 00022 push_admin_ (ec), 00023 pull_admin_ (ec) 00024 { 00025 this->default_POA_ = 00026 this->event_channel_->supplier_poa (); 00027 } |
|
destructor...
Definition at line 29 of file CEC_SupplierAdmin.cpp.
00030 { 00031 } |
|
Definition at line 34 of file CEC_SupplierAdmin.cpp. Referenced by TAO_CEC_EventChannel::shutdown().
00035 {
00036 return PortableServer::POA::_duplicate (this->default_POA_.in ());
00037 }
|
|
Definition at line 58 of file CEC_SupplierAdmin.cpp.
00059 { 00060 this->pull_admin_.connected (consumer); 00061 } |
|
Keep track of connected consumers.
Definition at line 40 of file CEC_SupplierAdmin.cpp. Referenced by TAO_CEC_EventChannel::connected().
00041 { 00042 this->push_admin_.connected (consumer); 00043 } |
|
Definition at line 70 of file CEC_SupplierAdmin.cpp.
00071 { 00072 this->pull_admin_.disconnected (consumer); 00073 } |
|
Definition at line 52 of file CEC_SupplierAdmin.cpp. Referenced by TAO_CEC_EventChannel::disconnected().
00053 { 00054 this->push_admin_.disconnected (consumer); 00055 } |
|
For each elements call <worker->work()>.
Definition at line 16 of file CEC_SupplierAdmin.inl.
00017 { 00018 this->pull_admin_.for_each (worker); 00019 } |
|
For each elements call <worker->work()>.
Definition at line 9 of file CEC_SupplierAdmin.inl. Referenced by TAO_CEC_Reactive_Pulling_Strategy::handle_timeout(), and TAO_CEC_Reactive_SupplierControl::query_suppliers().
00010 { 00011 this->push_admin_.for_each (worker); 00012 } |
|
Definition at line 90 of file CEC_SupplierAdmin.cpp.
00091 { 00092 return this->pull_admin_.obtain (); 00093 } |
|
Definition at line 84 of file CEC_SupplierAdmin.cpp.
00085 { 00086 return this->push_admin_.obtain (); 00087 } |
|
Definition at line 64 of file CEC_SupplierAdmin.cpp.
00065 { 00066 this->pull_admin_.reconnected (consumer); 00067 } |
|
Definition at line 46 of file CEC_SupplierAdmin.cpp. Referenced by TAO_CEC_EventChannel::reconnected().
00047 { 00048 this->push_admin_.reconnected (consumer); 00049 } |
|
The event channel is shutting down, inform all the consumers of this Definition at line 76 of file CEC_SupplierAdmin.cpp. Referenced by TAO_CEC_EventChannel::shutdown().
00077 { 00078 this->push_admin_.shutdown (); 00079 00080 this->pull_admin_.shutdown (); 00081 } |
|
Store the default POA.
Definition at line 106 of file CEC_SupplierAdmin.h. |
|
The Event Channel we belong to.
Definition at line 93 of file CEC_SupplierAdmin.h. |
|
Definition at line 103 of file CEC_SupplierAdmin.h. |
|
The push and pull aspects are implemented using these classes.
Definition at line 99 of file CEC_SupplierAdmin.h. |