#include <params.h>
Collaboration diagram for TAO_ORB_Parameters:
Public Member Functions | |
TAO_ORB_Parameters (void) | |
Constructor. | |
~TAO_ORB_Parameters (void) | |
Destructor. | |
int | add_endpoints (const ACE_CString &lane, const ACE_CString &endpoints) |
void | get_endpoint_set (const ACE_CString &lane, TAO_EndpointSet &endpoint_set) |
CORBA::UShort | service_port (TAO_MCAST_SERVICEID service_id) const |
Set/Get the port of services locatable through multicast. | |
void | service_port (TAO_MCAST_SERVICEID service_id, CORBA::UShort port) |
const char * | mcast_discovery_endpoint (void) const |
void | mcast_discovery_endpoint (const char *mde) |
int | sock_rcvbuf_size (void) const |
Set/Get the size to be used for a socket's receive buffer. | |
void | sock_rcvbuf_size (int) |
int | sock_sndbuf_size (void) const |
Set/Get the size to be used for a socket's send buffer. | |
void | sock_sndbuf_size (int) |
int | nodelay (void) const |
Set/Get the status of whether to use TCP_NODELAY or not. | |
void | nodelay (int) |
int | cdr_memcpy_tradeoff (void) const |
void | cdr_memcpy_tradeoff (int) |
int | use_dotted_decimal_addresses (void) const |
void | use_dotted_decimal_addresses (int) |
int | linger (void) const |
The ORB will turn off SO_LINGER if this is zero. | |
void | linger (int) |
char * | default_init_ref (void) const |
Set/Get the Init Reference of an arbitrary ObjectID. | |
void | default_init_ref (const char *default_init_ref) |
int | std_profile_components (void) const |
void | std_profile_components (int x) |
int | ace_sched_policy (void) const |
Scheduling policy. | |
void | ace_sched_policy (int x) |
long | sched_policy (void) const |
Scheduling policy flag. | |
void | sched_policy (long x) |
long | scope_policy (void) const |
Scheduling scope flag. | |
void | scope_policy (long x) |
long | thread_creation_flags (void) const |
Thread creation flags. | |
int | single_read_optimization (void) const |
Single read optimization. | |
void | single_read_optimization (int x) |
bool | disable_rt_collocation_resolver (void) const |
Mutators and accessors for rt_collocation_resolver. | |
void | disable_rt_collocation_resolver (bool) |
bool | preferred_interfaces (const char *s) |
const char * | preferred_interfaces (void) const |
void | enforce_pref_interfaces (bool p) |
bool | enforce_pref_interfaces (void) const |
Private Member Functions | |
int | parse_and_add_endpoints (const ACE_CString &endpoints, TAO_EndpointSet &endpoint_set) |
Private Attributes | |
TAO_EndpointMap | endpoints_map_ |
Map of endpoints this server is willing to accept requests on. | |
CORBA::UShort | service_port_ [TAO_NO_OF_MCAST_SERVICES] |
Port numbers of the configured services. | |
CORBA::String_var | mcast_discovery_endpoint_ |
ACE_CString | default_init_ref_ |
List of comma separated prefixes from ORBDefaultInitRef. | |
int | sock_rcvbuf_size_ |
Size to be used for a socket's receive buffer. | |
int | sock_sndbuf_size_ |
Size to be used for a socket's send buffer. | |
int | nodelay_ |
1 if we're using TCP_NODELAY and 0 otherwise. | |
int | cdr_memcpy_tradeoff_ |
int | use_lite_protocol_ |
For selecting a liteweight version of the GIOP protocol. | |
int | use_dotted_decimal_addresses_ |
For selecting a address notation. | |
int | linger_ |
For setting the SO_LINGER option. | |
int | std_profile_components_ |
If true then the standard OMG components are not generated. | |
int | ace_sched_policy_ |
Scheduling policy. | |
long | sched_policy_ |
Scheduling policy flag. | |
long | scope_policy_ |
Scheduling scope flag. | |
int | single_read_optimization_ |
Single read optimization. | |
ACE_CString | pref_network_ |
Preferred network interfaces as a string. | |
bool | disable_rt_collocation_resolver_ |
Default collocation resolver. | |
bool | enforce_preferred_interfaces_ |
|
Constructor.
|
|
Destructor.
|
|
|
|
Scheduling policy. Scheduling policy specified by the user through the -ORBSchedPolicy option. This value is typically used by functions like ACE_OS::thr_setprio() and ACE_Sched_Params::priority_min(). Legal values are ACE_SCHED_RR, ACE_SCHED_FIFO, and ACE_SCHED_OTHER. |
|
Specifies the endpoints on which this server is willing to listen for requests. |
|
|
|
Octet sequences are marshalled without doing any copies, we simply append a block to the CDR message block chain. When the octet sequence is small enough and there is room in the current message block it is more efficient just to copy the buffer. |
|
|
|
Set/Get the Init Reference of an arbitrary ObjectID.
|
|
|
|
Mutators and accessors for rt_collocation_resolver.
|
|
|
|
|
|
|
|
|
|
The ORB will turn off SO_LINGER if this is zero.
|
|
|
|
Get/Set address:port for Multicast Discovery Protocol for the Naming Service. |
|
|
|
Set/Get the status of whether to use TCP_NODELAY or not.
|
|
|
|
|
|
Accepts the list of preferred interfaces and does a simple semantic check on the string |
|
|
|
Scheduling policy flag. Scheduling policy specified by the user through the -ORBSchedPolicy option. This value is typically used by ACE thread creation functions. Legal values are THR_SCHED_RR, THR_SCHED_FIFO, and THR_SCHED_DEFAULT. |
|
|
|
Scheduling scope flag. Scheduling policy specified by the user through the -ORBScopePolicy option. This value is typically used by ACE thread creation functions. Legal values are THR_SCOPE_SYSTEM and THR_SCOPE_PROCESS. |
|
|
|
Set/Get the port of services locatable through multicast.
|
|
|
|
Single read optimization.
|
|
|
|
Set/Get the size to be used for a socket's receive buffer.
|
|
|
|
Set/Get the size to be used for a socket's send buffer.
|
|
|
|
Disable the OMG standard profile components, useful for homogenous environments. |
|
Thread creation flags. Shorthand for OR'ing together the scope_policy and sched_policy. |
|
|
|
The ORB will use the dotted decimal notation for addresses. By default we use the full ascii names. |
|
Scheduling policy. Scheduling policy specified by the user through the -ORBSchedPolicy option. This value is typically used by functions like ACE_OS::thr_setprio() and ACE_Sched_Params::priority_min(). Legal values are ACE_SCHED_RR, ACE_SCHED_FIFO, and ACE_SCHED_OTHER. |
|
Control the strategy for copying vs. appeding octet sequences in CDR streams. |
|
List of comma separated prefixes from ORBDefaultInitRef.
|
|
Default collocation resolver. The vanilla ORB has only one collocation resolver. But if the RTORB is in place, the RTORB can get in a new collocation resolver. There are some applications that would like to use the default collocation resolver with the RTORB. This boolean is the value of the option that the application passes in to enable/disable the use of RT collocation resolver with the RTORB. The default value is false to indicate that the RT_Collocation_Resolver will be loaded if the RTORB is used. |
|
Map of endpoints this server is willing to accept requests on.
|
|
|
|
For setting the SO_LINGER option.
|
|
address:port for Multicast Discovery Protocol for the Naming Service. |
|
1 if we're using TCP_NODELAY and 0 otherwise.
|
|
Preferred network interfaces as a string.
|
|
Scheduling policy flag. Scheduling policy specified by the user through the -ORBSchedPolicy option. This value is typically used by ACE thread creation functions. Legal values are THR_SCHED_RR, THR_SCHED_FIFO, and THR_SCHED_DEFAULT. |
|
Scheduling scope flag. Scheduling policy specified by the user through the -ORBScopePolicy option. This value is typically used by ACE thread creation functions. Legal values are THR_SCOPE_SYSTEM and THR_SCOPE_PROCESS. |
|
Port numbers of the configured services.
|
|
Single read optimization.
|
|
Size to be used for a socket's receive buffer.
|
|
Size to be used for a socket's send buffer.
|
|
If true then the standard OMG components are not generated.
|
|
For selecting a address notation.
|
|
For selecting a liteweight version of the GIOP protocol.
|