#include <CEC_ConsumerAdmin.h>
Collaboration diagram for TAO_CEC_ConsumerAdmin:
Implements the ConsumerAdmin interface, i.e. the factory for ProxyPushSupplier objects. = MEMORY MANAGMENT It does not assume ownership of the TAO_CEC_EventChannel object; but it *does* assume ownership of the TAO_CEC_ProxyPushSupplier_Set object. = LOCKING No provisions for locking, access must be serialized externally. = TODO
Definition at line 50 of file CEC_ConsumerAdmin.h.
|
constructor. If is nil then it builds one using the argument. In any case it assumes ownership. Definition at line 21 of file CEC_ConsumerAdmin.cpp. References TAO_CEC_EventChannel::consumer_poa(), and default_POA_.
00022 : event_channel_ (ec), 00023 push_admin_ (ec), 00024 pull_admin_ (ec) 00025 { 00026 this->default_POA_ = 00027 this->event_channel_->consumer_poa (); 00028 } |
|
destructor...
Definition at line 30 of file CEC_ConsumerAdmin.cpp.
00031 { 00032 } |
|
Definition at line 103 of file CEC_ConsumerAdmin.cpp. Referenced by TAO_CEC_EventChannel::shutdown().
00104 {
00105 return PortableServer::POA::_duplicate (this->default_POA_.in ());
00106 }
|
|
Definition at line 65 of file CEC_ConsumerAdmin.cpp. References pull_admin_.
00066 { 00067 this->pull_admin_.connected (supplier); 00068 } |
|
Used to inform the EC that a Supplier has connected or disconnected from it. Definition at line 47 of file CEC_ConsumerAdmin.cpp. References push_admin_. Referenced by TAO_CEC_EventChannel::connected().
00048 { 00049 this->push_admin_.connected (supplier); 00050 } |
|
Definition at line 77 of file CEC_ConsumerAdmin.cpp. References pull_admin_.
00078 { 00079 this->pull_admin_.disconnected (supplier); 00080 } |
|
Definition at line 59 of file CEC_ConsumerAdmin.cpp. References push_admin_. Referenced by TAO_CEC_EventChannel::disconnected().
00060 { 00061 this->push_admin_.disconnected (supplier); 00062 } |
|
Definition at line 16 of file CEC_ConsumerAdmin.inl. References pull_admin_.
00017 { 00018 this->pull_admin_.for_each (worker); 00019 } |
|
For each elements call <worker->work()>.
Definition at line 9 of file CEC_ConsumerAdmin.inl. References push_admin_. Referenced by TAO_CEC_Reactive_ConsumerControl::query_consumers().
00010 { 00011 this->push_admin_.for_each (worker); 00012 } |
|
Definition at line 97 of file CEC_ConsumerAdmin.cpp. References pull_admin_.
00098 { 00099 return this->pull_admin_.obtain (); 00100 } |
|
Definition at line 91 of file CEC_ConsumerAdmin.cpp. References push_admin_.
00092 { 00093 return this->push_admin_.obtain (); 00094 } |
|
Push the event to all the consumers.
Definition at line 35 of file CEC_ConsumerAdmin.cpp. References pull_admin_, and push_admin_. Referenced by TAO_CEC_ProxyPushConsumer::push(), and TAO_CEC_Pull_Event::work().
00036 { 00037 TAO_CEC_Propagate_Event_Push push_worker (event); 00038 00039 this->push_admin_.for_each (&push_worker); 00040 00041 TAO_CEC_Propagate_Event_Pull pull_worker (event); 00042 00043 this->pull_admin_.for_each (&pull_worker); 00044 } |
|
Definition at line 71 of file CEC_ConsumerAdmin.cpp. References pull_admin_.
00072 { 00073 this->pull_admin_.reconnected (supplier); 00074 } |
|
Definition at line 53 of file CEC_ConsumerAdmin.cpp. References push_admin_. Referenced by TAO_CEC_EventChannel::reconnected().
00054 { 00055 this->push_admin_.reconnected (supplier); 00056 } |
|
The event channel is shutting down, inform all the consumers of this Definition at line 83 of file CEC_ConsumerAdmin.cpp. References pull_admin_, and push_admin_. Referenced by TAO_CEC_EventChannel::shutdown().
00084 { 00085 this->push_admin_.shutdown (); 00086 00087 this->pull_admin_.shutdown (); 00088 } |
|
Store the default POA.
Definition at line 98 of file CEC_ConsumerAdmin.h. Referenced by TAO_CEC_ConsumerAdmin(). |
|
The Event Channel we belong to.
Definition at line 95 of file CEC_ConsumerAdmin.h. |
|
Implement the pull side of this class.
Definition at line 104 of file CEC_ConsumerAdmin.h. Referenced by connected(), disconnected(), for_each(), obtain_pull_supplier(), push(), reconnected(), and shutdown(). |
|
Implement the push side of this class.
Definition at line 101 of file CEC_ConsumerAdmin.h. Referenced by connected(), disconnected(), for_each(), obtain_push_supplier(), push(), reconnected(), and shutdown(). |