CEC_TypedEventChannel.inl

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 //
00003 // $Id: CEC_TypedEventChannel.inl 76937 2007-02-07 05:59:18Z johnnyw $
00004 
00005 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00006 
00007 ACE_INLINE
00008 TAO_CEC_TypedEventChannel_Attributes::
00009 TAO_CEC_TypedEventChannel_Attributes (PortableServer::POA_ptr s_poa,
00010                                       PortableServer::POA_ptr c_poa,
00011                                       CORBA::ORB_ptr _orb,
00012                                       CORBA::Repository_ptr _interface_repository)
00013   :  consumer_reconnect (TAO_CEC_DEFAULT_CONSUMER_RECONNECT),
00014      supplier_reconnect (TAO_CEC_DEFAULT_SUPPLIER_RECONNECT),
00015      disconnect_callbacks (TAO_CEC_DEFAULT_DISCONNECT_CALLBACKS),
00016      destroy_on_shutdown (0),
00017      //busy_hwm (TAO_CEC_DEFAULT_BUSY_HWM),
00018      //max_write_delay (TAO_CEC_DEFAULT_MAX_WRITE_DELAY),
00019      typed_supplier_poa (s_poa),
00020      typed_consumer_poa (c_poa),
00021      orb (_orb),
00022      interface_repository (_interface_repository)
00023 {
00024 }
00025 
00026 ACE_INLINE TAO_CEC_Dispatching*
00027 TAO_CEC_TypedEventChannel::dispatching (void) const
00028 {
00029   return this->dispatching_;
00030 }
00031 
00032 ACE_INLINE TAO_CEC_TypedConsumerAdmin*
00033 TAO_CEC_TypedEventChannel::typed_consumer_admin (void) const
00034 {
00035   return this->typed_consumer_admin_;
00036 }
00037 
00038 ACE_INLINE TAO_CEC_TypedSupplierAdmin*
00039 TAO_CEC_TypedEventChannel::typed_supplier_admin (void) const
00040 {
00041   return this->typed_supplier_admin_;
00042 }
00043 
00044 ACE_INLINE TAO_CEC_ConsumerControl*
00045 TAO_CEC_TypedEventChannel::consumer_control (void) const
00046 {
00047   return this->consumer_control_;
00048 }
00049 
00050 ACE_INLINE TAO_CEC_SupplierControl*
00051 TAO_CEC_TypedEventChannel::supplier_control (void) const
00052 {
00053   return this->supplier_control_;
00054 }
00055 
00056 ACE_INLINE void
00057 TAO_CEC_TypedEventChannel::create_proxy (TAO_CEC_ProxyPushSupplier* &x)
00058 {
00059   x = this->factory_->create_proxy_push_supplier (this);
00060 }
00061 
00062 ACE_INLINE void
00063 TAO_CEC_TypedEventChannel::destroy_proxy (TAO_CEC_ProxyPushSupplier* supplier)
00064 {
00065   this->factory_->destroy_proxy_push_supplier (supplier);
00066 }
00067 
00068 ACE_INLINE void
00069 TAO_CEC_TypedEventChannel::create_proxy (TAO_CEC_TypedProxyPushConsumer* &x)
00070 {
00071   x = this->factory_->create_proxy_push_consumer (this);
00072 }
00073 
00074 ACE_INLINE void
00075 TAO_CEC_TypedEventChannel::destroy_proxy (TAO_CEC_TypedProxyPushConsumer* consumer)
00076 {
00077   this->factory_->destroy_proxy_push_consumer (consumer);
00078 }
00079 
00080 ACE_INLINE void
00081 TAO_CEC_TypedEventChannel::create_proxy_collection (TAO_CEC_ProxyPushSupplier_Collection* &x)
00082 {
00083   x = this->factory_->create_proxy_push_supplier_collection (this);
00084 }
00085 
00086 ACE_INLINE void
00087 TAO_CEC_TypedEventChannel::destroy_proxy_collection (TAO_CEC_ProxyPushSupplier_Collection* x)
00088 {
00089   this->factory_->destroy_proxy_push_supplier_collection (x);
00090 }
00091 
00092 ACE_INLINE void
00093 TAO_CEC_TypedEventChannel::create_proxy_collection (TAO_CEC_TypedProxyPushConsumer_Collection* &x)
00094 {
00095   x = this->factory_->create_proxy_push_consumer_collection (this);
00096 }
00097 
00098 ACE_INLINE void
00099 TAO_CEC_TypedEventChannel::destroy_proxy_collection (TAO_CEC_TypedProxyPushConsumer_Collection* x)
00100 {
00101   this->factory_->destroy_proxy_push_consumer_collection (x);
00102 }
00103 
00104 ACE_INLINE PortableServer::POA_ptr
00105 TAO_CEC_TypedEventChannel::typed_supplier_poa (void)
00106 {
00107   return PortableServer::POA::_duplicate (this->typed_supplier_poa_.in ());
00108 }
00109 
00110 ACE_INLINE PortableServer::POA_ptr
00111 TAO_CEC_TypedEventChannel::typed_consumer_poa (void)
00112 {
00113   return PortableServer::POA::_duplicate (this->typed_consumer_poa_.in ());
00114 }
00115 
00116 ACE_INLINE ACE_Lock*
00117 TAO_CEC_TypedEventChannel::create_consumer_lock (void)
00118 {
00119   return this->factory_->create_consumer_lock ();
00120 }
00121 
00122 ACE_INLINE void
00123 TAO_CEC_TypedEventChannel::destroy_consumer_lock (ACE_Lock* x)
00124 {
00125   this->factory_->destroy_consumer_lock (x);
00126 }
00127 
00128 ACE_INLINE ACE_Lock*
00129 TAO_CEC_TypedEventChannel::create_supplier_lock (void)
00130 {
00131   return this->factory_->create_supplier_lock ();
00132 }
00133 
00134 ACE_INLINE void
00135 TAO_CEC_TypedEventChannel::destroy_supplier_lock (ACE_Lock* x)
00136 {
00137   this->factory_->destroy_supplier_lock (x);
00138 }
00139 
00140 ACE_INLINE int
00141 TAO_CEC_TypedEventChannel::consumer_reconnect (void) const
00142 {
00143   return this->consumer_reconnect_;
00144 }
00145 
00146 ACE_INLINE int
00147 TAO_CEC_TypedEventChannel::supplier_reconnect (void) const
00148 {
00149   return this->supplier_reconnect_;
00150 }
00151 
00152 ACE_INLINE int
00153 TAO_CEC_TypedEventChannel::disconnect_callbacks (void) const
00154 {
00155   return this->disconnect_callbacks_;
00156 }
00157 
00158 ACE_INLINE const char *
00159 TAO_CEC_TypedEventChannel::supported_interface (void) const
00160 {
00161   return this->supported_interface_.c_str ();
00162 }
00163 
00164 ACE_INLINE CORBA::RepositoryId
00165 TAO_CEC_TypedEventChannel::base_interfaces (CORBA::ULong index) const
00166 {
00167   return const_cast <CORBA::RepositoryId>(this->base_interfaces_[index].in ());
00168 }
00169 
00170 ACE_INLINE CORBA::ULong
00171 TAO_CEC_TypedEventChannel::number_of_base_interfaces (void) const
00172 {
00173   return this->base_interfaces_.length ();
00174 }
00175 
00176 ACE_INLINE TAO_CEC_TypedEventChannel::ServantRetryMap&
00177 TAO_CEC_TypedEventChannel::get_servant_retry_map (void)
00178 {
00179   return this->retry_map_;
00180 }
00181 
00182 ACE_INLINE
00183 TAO_CEC_Param::TAO_CEC_Param (void)
00184 {
00185 }
00186 
00187 ACE_INLINE
00188 TAO_CEC_Param::~TAO_CEC_Param (void)
00189 {
00190 }
00191 
00192 ACE_INLINE
00193 TAO_CEC_Operation_Params::TAO_CEC_Operation_Params (CORBA::ULong num_params)
00194   :  num_params_ (num_params)
00195 {
00196   parameters_ = new TAO_CEC_Param[num_params];
00197 }
00198 
00199 ACE_INLINE
00200 TAO_CEC_Operation_Params::~TAO_CEC_Operation_Params (void)
00201 {
00202   delete [] parameters_;
00203 }
00204 
00205 TAO_END_VERSIONED_NAMESPACE_DECL

Generated on Tue Feb 2 17:44:51 2010 for TAO_CosEvent by  doxygen 1.4.7