// -*- C++ -*- // $Id$ ACE_INLINE TAO_EndpointSet & TAO_ORB_Parameters::preconnects (void) { return this->preconnects_list_; } ACE_INLINE int TAO_ORB_Parameters::preconnects (ACE_CString &preconnects) { return this->parse_endpoints (preconnects, this->preconnects ()); } ACE_INLINE void TAO_ORB_Parameters::add_preconnect (ACE_CString &preconnect) { this->preconnects ().enqueue_tail (preconnect); } ACE_INLINE TAO_EndpointSet & TAO_ORB_Parameters::endpoints (void) { return this->endpoints_list_; } ACE_INLINE int TAO_ORB_Parameters::endpoints (ACE_CString &endpoints) { return this->parse_endpoints (endpoints, this->endpoints ()); } ACE_INLINE void TAO_ORB_Parameters::add_endpoint (ACE_CString &endpoint) { this->endpoints ().enqueue_tail (endpoint); } ACE_INLINE int TAO_ORB_Parameters::sock_rcvbuf_size (void) const { return sock_rcvbuf_size_; } ACE_INLINE void TAO_ORB_Parameters::sock_rcvbuf_size (int s) { sock_rcvbuf_size_ = s <= ACE_DEFAULT_MAX_SOCKET_BUFSIZ ? s : ACE_DEFAULT_MAX_SOCKET_BUFSIZ; } ACE_INLINE int TAO_ORB_Parameters::sock_sndbuf_size (void) const { return sock_sndbuf_size_; } ACE_INLINE void TAO_ORB_Parameters::sock_sndbuf_size (int s) { sock_sndbuf_size_ = s <= ACE_DEFAULT_MAX_SOCKET_BUFSIZ ? s : ACE_DEFAULT_MAX_SOCKET_BUFSIZ; } ACE_INLINE int TAO_ORB_Parameters::cdr_memcpy_tradeoff (void) const { return this->cdr_memcpy_tradeoff_; } ACE_INLINE void TAO_ORB_Parameters::cdr_memcpy_tradeoff (int x) { this->cdr_memcpy_tradeoff_ = x; } #if 0 // Supprt has been deprecated. ACE_INLINE int TAO_ORB_Parameters::use_lite_protocol (void) const { return this->use_lite_protocol_; } ACE_INLINE void TAO_ORB_Parameters::use_lite_protocol (int x) { this->use_lite_protocol_ = x; } #endif /*if 0*/ ACE_INLINE int TAO_ORB_Parameters::use_dotted_decimal_addresses (void) const { return this->use_dotted_decimal_addresses_; } ACE_INLINE void TAO_ORB_Parameters::use_dotted_decimal_addresses (int x) { this->use_dotted_decimal_addresses_ = x; } ACE_INLINE void TAO_ORB_Parameters::service_port (MCAST_SERVICEID service_id, CORBA::UShort port) { this->service_port_[service_id] = port; } ACE_INLINE CORBA::UShort TAO_ORB_Parameters::service_port (MCAST_SERVICEID service_id) const { return this->service_port_[service_id]; } ACE_INLINE void TAO_ORB_Parameters::mcast_discovery_endpoint (const char *mde) { this->mcast_discovery_endpoint_ = CORBA::string_dup (mde); } ACE_INLINE const char * TAO_ORB_Parameters::mcast_discovery_endpoint (void) const { return this->mcast_discovery_endpoint_.in (); } ACE_INLINE void TAO_ORB_Parameters::default_init_ref (const char *default_init_ref) { this->default_init_ref_ = default_init_ref; } ACE_INLINE char * TAO_ORB_Parameters::default_init_ref (void) const { return CORBA::string_dup (this->default_init_ref_.c_str ()); } ACE_INLINE int TAO_ORB_Parameters::std_profile_components (void) const { return this->std_profile_components_; } ACE_INLINE void TAO_ORB_Parameters::std_profile_components (int x) { this->std_profile_components_ = x; } ACE_INLINE int TAO_ORB_Parameters::nodelay (void) const { return this->nodelay_; } ACE_INLINE void TAO_ORB_Parameters::nodelay (int x) { this->nodelay_ = x; }