#include <EC_Null_Factory.h>
Inheritance diagram for TAO_EC_Null_Factory:
The simplest configuration for an event channel does no filtering and uses reactive dispatching. This class is used to configure such an event channel. A fixed POA is used for servant activation. This object creates a single instance of the Supplier
Definition at line 39 of file EC_Null_Factory.h.
TAO_BEGIN_VERSIONED_NAMESPACE_DECL TAO_EC_Null_Factory::TAO_EC_Null_Factory | ( | void | ) |
TAO_EC_Null_Factory::~TAO_EC_Null_Factory | ( | void | ) | [virtual] |
TAO_EC_ConsumerAdmin * TAO_EC_Null_Factory::create_consumer_admin | ( | TAO_EC_Event_Channel_Base * | ) | [virtual] |
Create and destroy the consumer admin implementation.
Implements TAO_EC_Factory.
Definition at line 71 of file EC_Null_Factory.cpp.
00072 { 00073 return new TAO_EC_ConsumerAdmin (ec); 00074 }
TAO_EC_ConsumerControl * TAO_EC_Null_Factory::create_consumer_control | ( | TAO_EC_Event_Channel_Base * | ) | [virtual] |
The ConsumerControl and SupplierControl strategies are used to discard non-existent consumers and suppliers
Implements TAO_EC_Factory.
Definition at line 218 of file EC_Null_Factory.cpp.
00219 { 00220 return new TAO_EC_ConsumerControl (); 00221 }
ACE_Lock * TAO_EC_Null_Factory::create_consumer_lock | ( | void | ) | [virtual] |
Create and destroy the locking strategies for both ProxyPushConsumers and ProxyPushSuppliers
Implements TAO_EC_Factory.
Definition at line 194 of file EC_Null_Factory.cpp.
00195 { 00196 return new ACE_Lock_Adapter<ACE_Null_Mutex> (); 00197 }
TAO_EC_Dispatching * TAO_EC_Null_Factory::create_dispatching | ( | TAO_EC_Event_Channel_Base * | ) | [virtual] |
Create and destroy the dispatching module.
Implements TAO_EC_Factory.
Definition at line 35 of file EC_Null_Factory.cpp.
00036 { 00037 return new TAO_EC_Reactive_Dispatching (); 00038 }
TAO_EC_Filter_Builder * TAO_EC_Null_Factory::create_filter_builder | ( | TAO_EC_Event_Channel_Base * | ) | [virtual] |
Create and destroy the filter builder.
Implements TAO_EC_Factory.
Definition at line 47 of file EC_Null_Factory.cpp.
00048 { 00049 return new TAO_EC_Null_Filter_Builder; 00050 }
TAO_EC_ObserverStrategy * TAO_EC_Null_Factory::create_observer_strategy | ( | TAO_EC_Event_Channel_Base * | ) | [virtual] |
Create and destroy the observer strategy.
Implements TAO_EC_Factory.
Definition at line 136 of file EC_Null_Factory.cpp.
00137 { 00138 return new TAO_EC_Null_ObserverStrategy; 00139 }
TAO_EC_ProxyPushConsumer * TAO_EC_Null_Factory::create_proxy_push_consumer | ( | TAO_EC_Event_Channel_Base * | ) | [virtual] |
Create and destroy a ProxyPushConsumer.
Implements TAO_EC_Factory.
Definition at line 107 of file EC_Null_Factory.cpp.
00108 { 00109 return new TAO_EC_Default_ProxyPushConsumer (ec); 00110 }
TAO_EC_ProxyPushConsumer_Collection * TAO_EC_Null_Factory::create_proxy_push_consumer_collection | ( | TAO_EC_Event_Channel_Base * | ) | [virtual] |
Create and destroy a collection of TAO_EC_ProxyPushConsumers.
Implements TAO_EC_Factory.
Definition at line 160 of file EC_Null_Factory.cpp.
00161 { 00162 // This typedef is a workaround for a SunCC 4.2 bug 00163 typedef TAO_ESF_Proxy_List<TAO_EC_ProxyPushConsumer>::Iterator TAO_EC_Consumer_List_Iterator; 00164 return new TAO_ESF_Immediate_Changes<TAO_EC_ProxyPushConsumer, 00165 TAO_ESF_Proxy_List<TAO_EC_ProxyPushConsumer>, 00166 TAO_EC_Consumer_List_Iterator, 00167 ACE_Null_Mutex> (); 00168 }
TAO_EC_ProxyPushSupplier * TAO_EC_Null_Factory::create_proxy_push_supplier | ( | TAO_EC_Event_Channel_Base * | ) | [virtual] |
Create and destroy a ProxyPushSupplier.
Implements TAO_EC_Factory.
Definition at line 95 of file EC_Null_Factory.cpp.
References TAO_EC_DEFAULT_CONSUMER_VALIDATE_CONNECTION.
00096 { 00097 return new TAO_EC_Default_ProxyPushSupplier (ec, TAO_EC_DEFAULT_CONSUMER_VALIDATE_CONNECTION); 00098 }
TAO_EC_ProxyPushSupplier_Collection * TAO_EC_Null_Factory::create_proxy_push_supplier_collection | ( | TAO_EC_Event_Channel_Base * | ) | [virtual] |
Create and destroy a collection of TAO_EC_ProxyPushSuppliers.
Implements TAO_EC_Factory.
Definition at line 177 of file EC_Null_Factory.cpp.
00178 { 00179 // This typedef is a workaround for a SunCC 4.2 bug 00180 typedef TAO_ESF_Proxy_List<TAO_EC_ProxyPushSupplier>::Iterator TAO_EC_Supplier_List_Iterator; 00181 return new TAO_ESF_Immediate_Changes<TAO_EC_ProxyPushSupplier, 00182 TAO_ESF_Proxy_List<TAO_EC_ProxyPushSupplier>, 00183 TAO_EC_Supplier_List_Iterator, 00184 ACE_Null_Mutex> (); 00185 }
TAO_EC_Scheduling_Strategy * TAO_EC_Null_Factory::create_scheduling_strategy | ( | TAO_EC_Event_Channel_Base * | ) | [virtual] |
Create and destroy the observer strategy.
Implements TAO_EC_Factory.
Definition at line 148 of file EC_Null_Factory.cpp.
00149 { 00150 return new TAO_EC_Null_Scheduling; 00151 }
TAO_EC_SupplierAdmin * TAO_EC_Null_Factory::create_supplier_admin | ( | TAO_EC_Event_Channel_Base * | ) | [virtual] |
Create and destroy the supplier admin implementation.
Implements TAO_EC_Factory.
Definition at line 83 of file EC_Null_Factory.cpp.
00084 { 00085 return new TAO_EC_SupplierAdmin (ec); 00086 }
TAO_EC_SupplierControl * TAO_EC_Null_Factory::create_supplier_control | ( | TAO_EC_Event_Channel_Base * | ) | [virtual] |
Implements TAO_EC_Factory.
Definition at line 230 of file EC_Null_Factory.cpp.
00231 { 00232 return new TAO_EC_SupplierControl (); 00233 }
TAO_EC_Supplier_Filter_Builder * TAO_EC_Null_Factory::create_supplier_filter_builder | ( | TAO_EC_Event_Channel_Base * | ) | [virtual] |
Create and destroy the filter builder.
Implements TAO_EC_Factory.
Definition at line 59 of file EC_Null_Factory.cpp.
00060 { 00061 return new TAO_EC_Trivial_Supplier_Filter_Builder (ec); 00062 }
ACE_Lock * TAO_EC_Null_Factory::create_supplier_lock | ( | void | ) | [virtual] |
Implements TAO_EC_Factory.
Definition at line 206 of file EC_Null_Factory.cpp.
00207 { 00208 return new ACE_Lock_Adapter<ACE_Null_Mutex> (); 00209 }
TAO_EC_Timeout_Generator * TAO_EC_Null_Factory::create_timeout_generator | ( | TAO_EC_Event_Channel_Base * | ) | [virtual] |
Create and destroy the timer module.
Implements TAO_EC_Factory.
Definition at line 119 of file EC_Null_Factory.cpp.
References CORBA::ORB_init(), and ACE_Event_Handler::reactor().
00120 { 00121 int argc = 0; 00122 char **argv = 0; 00123 CORBA::ORB_var orb = 00124 CORBA::ORB_init (argc, argv); 00125 ACE_Reactor *reactor = orb->orb_core ()->reactor (); 00126 return new TAO_EC_Reactive_Timeout_Generator (reactor); 00127 }
void TAO_EC_Null_Factory::destroy_consumer_admin | ( | TAO_EC_ConsumerAdmin * | ) | [virtual] |
void TAO_EC_Null_Factory::destroy_consumer_control | ( | TAO_EC_ConsumerControl * | ) | [virtual] |
void TAO_EC_Null_Factory::destroy_consumer_lock | ( | ACE_Lock * | ) | [virtual] |
void TAO_EC_Null_Factory::destroy_dispatching | ( | TAO_EC_Dispatching * | ) | [virtual] |
void TAO_EC_Null_Factory::destroy_filter_builder | ( | TAO_EC_Filter_Builder * | ) | [virtual] |
void TAO_EC_Null_Factory::destroy_observer_strategy | ( | TAO_EC_ObserverStrategy * | ) | [virtual] |
void TAO_EC_Null_Factory::destroy_proxy_push_consumer | ( | TAO_EC_ProxyPushConsumer * | ) | [virtual] |
void TAO_EC_Null_Factory::destroy_proxy_push_consumer_collection | ( | TAO_EC_ProxyPushConsumer_Collection * | ) | [virtual] |
void TAO_EC_Null_Factory::destroy_proxy_push_supplier | ( | TAO_EC_ProxyPushSupplier * | ) | [virtual] |
void TAO_EC_Null_Factory::destroy_proxy_push_supplier_collection | ( | TAO_EC_ProxyPushSupplier_Collection * | ) | [virtual] |
void TAO_EC_Null_Factory::destroy_scheduling_strategy | ( | TAO_EC_Scheduling_Strategy * | ) | [virtual] |
void TAO_EC_Null_Factory::destroy_supplier_admin | ( | TAO_EC_SupplierAdmin * | ) | [virtual] |
void TAO_EC_Null_Factory::destroy_supplier_control | ( | TAO_EC_SupplierControl * | ) | [virtual] |
void TAO_EC_Null_Factory::destroy_supplier_filter_builder | ( | TAO_EC_Supplier_Filter_Builder * | ) | [virtual] |
void TAO_EC_Null_Factory::destroy_supplier_lock | ( | ACE_Lock * | ) | [virtual] |
void TAO_EC_Null_Factory::destroy_timeout_generator | ( | TAO_EC_Timeout_Generator * | ) | [virtual] |