params.inl

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 //
00003 // $Id: params.inl 81470 2008-04-28 12:40:23Z elliott_c $
00004 
00005 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00006 
00007 ACE_INLINE int
00008 TAO_ORB_Parameters::sock_rcvbuf_size (void) const
00009 {
00010   return sock_rcvbuf_size_;
00011 }
00012 
00013 ACE_INLINE void
00014 TAO_ORB_Parameters::sock_rcvbuf_size (int s)
00015 {
00016   sock_rcvbuf_size_ = s;
00017 }
00018 
00019 ACE_INLINE int
00020 TAO_ORB_Parameters::sock_sndbuf_size (void) const
00021 {
00022   return sock_sndbuf_size_;
00023 }
00024 
00025 ACE_INLINE void
00026 TAO_ORB_Parameters::sock_sndbuf_size (int s)
00027 {
00028   sock_sndbuf_size_ = s;
00029 }
00030 
00031 ACE_INLINE int
00032 TAO_ORB_Parameters::cdr_memcpy_tradeoff (void) const
00033 {
00034   return this->cdr_memcpy_tradeoff_;
00035 }
00036 
00037 ACE_INLINE void
00038 TAO_ORB_Parameters::cdr_memcpy_tradeoff (int x)
00039 {
00040   this->cdr_memcpy_tradeoff_ = x;
00041 }
00042 
00043 ACE_INLINE ACE_CDR::ULong
00044 TAO_ORB_Parameters::max_message_size (void) const
00045 {
00046   return this->max_message_size_;
00047 }
00048 
00049 ACE_INLINE void
00050 TAO_ORB_Parameters::max_message_size (ACE_CDR::ULong size)
00051 {
00052   this->max_message_size_ = size;
00053 }
00054 
00055 ACE_INLINE int
00056 TAO_ORB_Parameters::use_dotted_decimal_addresses (void) const
00057 {
00058   return this->use_dotted_decimal_addresses_;
00059 }
00060 
00061 ACE_INLINE void
00062 TAO_ORB_Parameters::use_dotted_decimal_addresses (int x)
00063 {
00064   this->use_dotted_decimal_addresses_ = x;
00065 }
00066 
00067 ACE_INLINE int
00068 TAO_ORB_Parameters::cache_incoming_by_dotted_decimal_address (void) const
00069 {
00070   return this->cache_incoming_by_dotted_decimal_address_;
00071 }
00072 
00073 ACE_INLINE void
00074 TAO_ORB_Parameters::cache_incoming_by_dotted_decimal_address (int x)
00075 {
00076   this->cache_incoming_by_dotted_decimal_address_ = x;
00077 }
00078 
00079 ACE_INLINE int
00080 TAO_ORB_Parameters::linger (void) const
00081 {
00082   return this->linger_;
00083 }
00084 
00085 ACE_INLINE void
00086 TAO_ORB_Parameters::linger (int x)
00087 {
00088   this->linger_ = x;
00089 }
00090 
00091 
00092 ACE_INLINE time_t
00093 TAO_ORB_Parameters::accept_error_delay (void) const
00094 {
00095   return this->accept_error_delay_;
00096 }
00097 
00098 ACE_INLINE void
00099 TAO_ORB_Parameters::accept_error_delay (time_t x)
00100 {
00101   this->accept_error_delay_ = x;
00102 }
00103 
00104 
00105 ACE_INLINE void
00106 TAO_ORB_Parameters::service_port (TAO::MCAST_SERVICEID service_id,
00107                                   CORBA::UShort port)
00108 {
00109   this->service_port_[service_id] = port;
00110 }
00111 
00112 ACE_INLINE CORBA::UShort
00113 TAO_ORB_Parameters::service_port (TAO::MCAST_SERVICEID service_id) const
00114 {
00115   return this->service_port_[service_id];
00116 }
00117 
00118 ACE_INLINE void
00119 TAO_ORB_Parameters::mcast_discovery_endpoint (const char *mde)
00120 {
00121   this->mcast_discovery_endpoint_ = CORBA::string_dup (mde);
00122 }
00123 
00124 ACE_INLINE const char *
00125 TAO_ORB_Parameters::mcast_discovery_endpoint (void) const
00126 {
00127   return this->mcast_discovery_endpoint_.in ();
00128 }
00129 
00130 ACE_INLINE void
00131 TAO_ORB_Parameters::default_init_ref (const char *default_init_ref)
00132 {
00133   this->default_init_ref_ = default_init_ref;
00134 }
00135 
00136 ACE_INLINE char *
00137 TAO_ORB_Parameters::default_init_ref (void) const
00138 {
00139   return CORBA::string_dup (this->default_init_ref_.c_str ());
00140 }
00141 
00142 ACE_INLINE int
00143 TAO_ORB_Parameters::std_profile_components (void) const
00144 {
00145   return this->std_profile_components_;
00146 }
00147 
00148 ACE_INLINE void
00149 TAO_ORB_Parameters::std_profile_components (int x)
00150 {
00151   this->std_profile_components_ = x;
00152 }
00153 
00154 ACE_INLINE int
00155 TAO_ORB_Parameters::nodelay (void) const
00156 {
00157   return this->nodelay_;
00158 }
00159 
00160 ACE_INLINE void
00161 TAO_ORB_Parameters::nodelay (int x)
00162 {
00163   this->nodelay_ = x;
00164 }
00165 
00166 ACE_INLINE int
00167 TAO_ORB_Parameters::sock_keepalive (void)
00168 {
00169   return this->sock_keepalive_;
00170 }
00171 
00172 ACE_INLINE void
00173 TAO_ORB_Parameters::sock_keepalive (int x)
00174 {
00175   this->sock_keepalive_ = x;
00176 }
00177 
00178 ACE_INLINE int
00179 TAO_ORB_Parameters::sock_dontroute (void)
00180 {
00181   return this->sock_dontroute_;
00182 }
00183 
00184 ACE_INLINE void
00185 TAO_ORB_Parameters::sock_dontroute (int x)
00186 {
00187   this->sock_dontroute_ = x;
00188 }
00189 
00190 ACE_INLINE int
00191 TAO_ORB_Parameters::ace_sched_policy (void) const
00192 {
00193   return this->ace_sched_policy_;
00194 }
00195 
00196 ACE_INLINE void
00197 TAO_ORB_Parameters::ace_sched_policy (int x)
00198 {
00199   this->ace_sched_policy_ = x;
00200 }
00201 
00202 ACE_INLINE long
00203 TAO_ORB_Parameters::sched_policy (void) const
00204 {
00205   return this->sched_policy_;
00206 }
00207 
00208 ACE_INLINE void
00209 TAO_ORB_Parameters::sched_policy (long x)
00210 {
00211   this->sched_policy_ = x;
00212 }
00213 
00214 ACE_INLINE long
00215 TAO_ORB_Parameters::scope_policy (void) const
00216 {
00217   return this->scope_policy_;
00218 }
00219 
00220 ACE_INLINE void
00221 TAO_ORB_Parameters::scope_policy (long x)
00222 {
00223   this->scope_policy_ = x;
00224 }
00225 
00226 ACE_INLINE long
00227 TAO_ORB_Parameters::thread_creation_flags (void) const
00228 {
00229   return
00230     this->scope_policy () |
00231     this->sched_policy ();
00232 }
00233 
00234 ACE_INLINE int
00235 TAO_ORB_Parameters::single_read_optimization (void) const
00236 {
00237   return this->single_read_optimization_;
00238 }
00239 
00240 ACE_INLINE void
00241 TAO_ORB_Parameters::single_read_optimization (int x)
00242 {
00243   this->single_read_optimization_ = x;
00244 }
00245 
00246 ACE_INLINE bool
00247 TAO_ORB_Parameters::use_parallel_connects (void) const
00248 {
00249   return this->use_parallel_connects_;
00250 }
00251 
00252 ACE_INLINE void
00253 TAO_ORB_Parameters::use_parallel_connects (bool x)
00254 {
00255   this->use_parallel_connects_ = x;
00256 }
00257 
00258 ACE_INLINE unsigned long
00259 TAO_ORB_Parameters::parallel_connect_delay (void) const
00260 {
00261   return this->parallel_connect_delay_;
00262 }
00263 
00264 ACE_INLINE void
00265 TAO_ORB_Parameters::parallel_connect_delay (unsigned long x)
00266 {
00267   this->parallel_connect_delay_ = x;
00268 }
00269 
00270 ACE_INLINE int
00271 TAO_ORB_Parameters::shared_profile (void) const
00272 {
00273   return this->shared_profile_;
00274 }
00275 
00276 ACE_INLINE void
00277 TAO_ORB_Parameters::shared_profile (int x)
00278 {
00279   this->shared_profile_ = x;
00280 }
00281 
00282 ACE_INLINE bool
00283 TAO_ORB_Parameters::disable_rt_collocation_resolver (void) const
00284 {
00285   return this->disable_rt_collocation_resolver_;
00286 }
00287 
00288 ACE_INLINE void
00289 TAO_ORB_Parameters::disable_rt_collocation_resolver (bool x)
00290 {
00291   this->disable_rt_collocation_resolver_ = x;
00292 }
00293 
00294 
00295 ACE_INLINE bool
00296 TAO_ORB_Parameters::negotiate_codesets (void) const
00297 {
00298   return this->negotiate_codesets_;
00299 }
00300 
00301 ACE_INLINE void
00302 TAO_ORB_Parameters::negotiate_codesets (bool x)
00303 {
00304   this->negotiate_codesets_ = x;
00305 }
00306 
00307 ACE_INLINE bool
00308 TAO_ORB_Parameters::ami_collication (void) const
00309 {
00310   return this->ami_collication_;
00311 }
00312 
00313 ACE_INLINE void
00314 TAO_ORB_Parameters::ami_collication (bool x)
00315 {
00316   this->ami_collication_ = x;
00317 }
00318 
00319 ACE_INLINE void
00320 TAO_ORB_Parameters::collocation_resolver_name (const char *s)
00321 {
00322   this->collocation_resolver_name_ = s;
00323 }
00324 
00325 ACE_INLINE const char *
00326 TAO_ORB_Parameters::collocation_resolver_name (void) const
00327 {
00328   return this->collocation_resolver_name_.c_str ();
00329 }
00330 
00331 TAO_END_VERSIONED_NAMESPACE_DECL

Generated on Tue Feb 2 17:37:52 2010 for TAO by  doxygen 1.4.7