#include <ORB_Core.h>
Collaboration diagram for TAO_ORB_Core:
Collocation Strategies | |
enum | { ORB_CONTROL, THRU_POA, DIRECT } |
TAO::Collocation_Strategy | collocation_strategy (CORBA::Object_ptr object ACE_ENV_ARG_DECL) |
Public Types | |
typedef void(* | Timeout_Hook )(TAO_ORB_Core *, TAO_Stub *, bool &, ACE_Time_Value &) |
Define the Timeout_Hook signature. | |
typedef void(* | Sync_Scope_Hook )(TAO_ORB_Core *, TAO_Stub *, bool &, Messaging::SyncScope &) |
typedef ACE_Array_Map< ACE_CString, ACE_CString > | InitRefMap |
Public Member Functions | |
TAO_ORB_Core (const char *id) | |
Constructor. | |
TAO_ORB_Parameters * | orb_params (void) |
Accessor for the ORB parameters. | |
TAO_Connector_Registry * | connector_registry (ACE_ENV_SINGLE_ARG_DECL) |
Get the connector registry. | |
TAO_Parser_Registry * | parser_registry (void) |
Get the IOR parser registry. | |
TAO::PolicyFactory_Registry_Adapter * | policy_factory_registry (void) |
TAO::ORBInitializer_Registry_Adapter * | orbinitializer_registry (void) |
TAO_ProtocolFactorySet * | protocol_factories (void) |
Get the protocol factories. | |
CORBA::ORB_ptr | orb (void) |
Get pointer to the ORB. | |
ACE_Reactor * | reactor (void) |
Wrappers that forward the request to the concurrency strategy. | |
ACE_Thread_Manager * | thr_mgr (void) |
Get the ACE_Thread_Manager. | |
CORBA::Object_ptr | root_poa (ACE_ENV_SINGLE_ARG_DECL) |
Return the RootPOA, or try to load it if not initialized already. | |
TAO_Adapter_Registry * | adapter_registry (void) |
Get the adapter registry. | |
TAO_Adapter * | poa_adapter (void) |
TAO_Protocols_Hooks * | get_protocols_hooks (void) |
Gets the value of TAO_ORB_Core::protocols_hooks__. | |
int | is_collocated (const TAO_MProfile &mprofile) |
ACE_Allocator * | output_cdr_dblock_allocator (void) |
ACE_Allocator * | output_cdr_buffer_allocator (void) |
ACE_Allocator * | output_cdr_msgblock_allocator (void) |
ACE_Allocator * | input_cdr_dblock_allocator (void) |
ACE_Allocator * | input_cdr_buffer_allocator (void) |
ACE_Allocator * | input_cdr_msgblock_allocator (void) |
ACE_Allocator * | transport_message_buffer_allocator (void) |
ACE_Data_Block * | create_input_cdr_data_block (size_t size) |
ACE_Lock * | locking_strategy (void) |
Return the locking strategy used for the data blocks. | |
TAO_Policy_Set * | get_default_policies (void) |
Accessor method for the default_policies_. | |
CORBA::Policy_ptr | get_policy (CORBA::PolicyType type ACE_ENV_ARG_DECL) |
CORBA::Policy_ptr | get_policy_including_current (CORBA::PolicyType type ACE_ENV_ARG_DECL) |
CORBA::Policy_ptr | get_cached_policy (TAO_Cached_Policy_Type type ACE_ENV_ARG_DECL) |
CORBA::Policy_ptr | get_cached_policy_including_current (TAO_Cached_Policy_Type type ACE_ENV_ARG_DECL) |
TAO_Policy_Manager * | policy_manager (void) |
Return the Policy_Manager for this ORB. | |
TAO_Policy_Current & | policy_current (void) |
void | call_timeout_hook (TAO_Stub *stub, bool &has_timeout, ACE_Time_Value &time_value) |
Invoke the timeout hook if present. | |
void | connection_timeout (TAO_Stub *stub, bool &has_timeout, ACE_Time_Value &time_value) |
Invoke the timeout hook if present. | |
void | call_sync_scope_hook (TAO_Stub *stub, bool &has_synchronization, Messaging::SyncScope &scope) |
TAO_Sync_Strategy & | get_sync_strategy (TAO_Stub *stub, Messaging::SyncScope &scope) |
TAO_Transport_Sync_Strategy & | transport_sync_strategy (void) |
This strategy will sync with the transport. | |
TAO_ORB_Core_TSS_Resources * | get_tss_resources (void) |
Obtain the TSS resources of this orb. | |
void * | get_tss_resource (size_t slot_id) |
Obtain the TSS resource in the given slot. | |
int | set_tss_resource (size_t slot_id, void *) |
int | add_tss_cleanup_func (ACE_CLEANUP_FUNC cleanup, size_t &slot_id) |
TAO_Cleanup_Func_Registry * | tss_cleanup_funcs (void) |
Return the underlying TSS cleanup function registry. | |
TAO_Leader_Follower & | leader_follower (void) |
Get access to the leader_follower class. | |
TAO_LF_Strategy & | lf_strategy (void) |
Get access to the leader follower strategy. | |
TAO_Thread_Lane_Resources & | lane_resources (void) |
Get access to the thread lane resources. | |
int | run (ACE_Time_Value *tv, int perform_work ACE_ENV_ARG_DECL) |
Run the event loop. | |
void | shutdown (CORBA::Boolean wait_for_completion ACE_ENV_ARG_DECL) throw () |
End the event loop. | |
int | has_shutdown (void) |
Get the shutdown flag value. | |
void | destroy (ACE_ENV_SINGLE_ARG_DECL) |
Shutdown the ORB and free resources. | |
void | check_shutdown (ACE_ENV_SINGLE_ARG_DECL) |
Check if ORB has shutdown. If it has, throw an exception. | |
int | thread_per_connection_timeout (ACE_Time_Value &timeout) const |
TAO_Stub * | create_stub_object (TAO_MProfile &mprofile, const char *type_id, CORBA::PolicyList *policy_list ACE_ENV_ARG_DECL) |
TAO_Stub * | create_stub (const char *repository_id, const TAO_MProfile &profiles ACE_ENV_ARG_DECL) |
CORBA::Object_ptr | create_object (TAO_Stub *the_stub) |
CORBA::Long | initialize_object (TAO_Stub *the_stub, CORBA::Object_ptr obj) |
const char * | orbid (void) const |
Return ORBid string. | |
CORBA::Boolean | use_implrepo (void) |
Do we attempt to register with the Implementation Repository. | |
CORBA::Boolean | imr_endpoints_in_ior (void) |
Do we put the ImR's endpoints into persistent object references we create. | |
CORBA::Object_ptr | resolve_typecodefactory (ACE_ENV_SINGLE_ARG_DECL) |
Resolve the TypeCodeFactory DLL. | |
CORBA::Object_ptr | resolve_picurrent (ACE_ENV_SINGLE_ARG_DECL) |
Resolve the PICurrent. | |
CORBA::Object_ptr | resolve_codecfactory (ACE_ENV_SINGLE_ARG_DECL) |
Resolve the CodecFactory DLL. | |
CORBA::Object_ptr | resolve_dynanyfactory (ACE_ENV_SINGLE_ARG_DECL) |
Resolve the Dynamic Any Factory. | |
CORBA::Object_ptr | resolve_ior_manipulation (ACE_ENV_SINGLE_ARG_DECL) |
Resolve the IOR Manipulation reference for this ORB. | |
CORBA::Object_ptr | resolve_ior_table (ACE_ENV_SINGLE_ARG_DECL) |
Resolve the IOR Table reference for this ORB. | |
CORBA::Object_ptr | resolve_rir (const char *name ACE_ENV_ARG_DECL) |
Resolve an initial reference via the -ORBInitRef and. | |
CORBA::Object_ptr | resolve_rt_orb (void) |
Resolve the RT ORB reference for this ORB. | |
const char * | server_id (void) const |
CORBA::ORB_ObjectIdList * | list_initial_references (ACE_ENV_SINGLE_ARG_DECL_NOT_USED) |
List all the service known by the ORB. | |
CORBA::ULong | _incr_refcnt (void) |
Reference counting... | |
CORBA::ULong | _decr_refcnt (void) |
int | register_handle (ACE_HANDLE handle) |
int | remove_handle (ACE_HANDLE handle) |
TAO_Valuetype_Adapter *& | valuetype_adapter (void) |
Return the valuetype adapter. | |
TAO_IORInterceptor_Adapter * | ior_interceptor_adapter (void) |
CORBA::Boolean | bidir_giop_policy (void) |
void | bidir_giop_policy (CORBA::Boolean) |
TAO_Object_Ref_Table & | object_ref_table (void) |
TAO::ObjectKey_Table & | object_key_table (void) |
Acceessor to the table that stores the object_keys. | |
TAO_Request_Dispatcher * | request_dispatcher (void) |
Return the current request dispatcher strategy. | |
void | request_dispatcher (TAO_Request_Dispatcher *rd) |
void | load_policy_validators (TAO_Policy_Validator &validator ACE_ENV_ARG_DECL) |
TAO_Flushing_Strategy * | flushing_strategy (void) |
Return the flushing strategy. | |
TAO_Codeset_Manager * | codeset_manager (void) |
Get Code Set Manager. | |
InitRefMap * | init_ref_map (void) |
Return a pointer to the -ORBInitRef map. | |
void | set_default (const char *orb_id) |
void | not_default (const char *orb_id) |
Choose to be not a default ORB when there is more than one ORB. | |
CORBA::Object_ptr | poa_current (void) |
void | poa_current (CORBA::Object_ptr poa_current) |
void | optimize_collocation_objects (CORBA::Boolean opt) |
CORBA::Boolean | optimize_collocation_objects (void) const |
void | use_global_collocation (CORBA::Boolean opt) |
CORBA::Boolean | use_global_collocation (void) const |
CORBA::ULong | get_collocation_strategy (void) const |
Access to Factories | |
These factories are not thread-specific, and are presented here in order to have one place to get useful information. Often, the instances to which the return pointers are stored in the Service Repository. | |
TAO_Resource_Factory * | resource_factory (void) |
Returns pointer to the resource factory. | |
TAO::GUIResource_Factory * | gui_resource_factory (void) |
Returns pointer to the factory for creating gui resources. | |
TAO_Client_Strategy_Factory * | client_factory (void) |
Returns pointer to the client factory. | |
TAO_Server_Strategy_Factory * | server_factory (void) |
Returns pointer to the server factory. | |
TAO_Protocols_Hooks * | protocols_hooks (void) |
Returns pointer to the Protocols_Hooks. | |
TAO_Thread_Lane_Resources_Manager & | thread_lane_resources_manager (void) |
Returns a pointer to the Thread Lane Resources Manager. | |
TAO_Collocation_Resolver & | collocation_resolver (void) |
Returns a pointer to the Collocation Resolver. | |
TAO_Stub_Factory * | stub_factory (void) |
Returns a pointer to the Stub factory. | |
TAO_Endpoint_Selector_Factory * | endpoint_selector_factory (void) |
Returns a pointer to the endpoint selector factory. | |
CORBA::Environment * | default_environment (void) const |
void | default_environment (CORBA::Environment *) |
TAO_Eager_Buffering_Sync_Strategy & | eager_buffering_sync_strategy (void) |
TAO_Delayed_Buffering_Sync_Strategy & | delayed_buffering_sync_strategy (void) |
CORBA::Object_ptr | implrepo_service (void) |
void | implrepo_service (const CORBA::Object_ptr ir) |
ORB Core Service Hooks | |
These methods would represent the hooks in the ORB Core. These hooks would be used to call back on the services or other features that are dynamically loaded. | |
CORBA::Boolean | service_profile_selection (TAO_MProfile &mprofile, TAO_Profile *&profile) |
CORBA::Boolean | service_profile_reselection (TAO_Stub *stub, TAO_Profile *&profile) |
void | reset_service_profile_flags (void) |
Reset the flags in the loaded services. | |
CORBA::Boolean | object_is_nil (CORBA::Object_ptr object) |
TAO_Service_Callbacks::Profile_Equivalence | is_profile_equivalent (const TAO_Profile *this_p, const TAO_Profile *that_p) |
CORBA::ULong | hash_service (TAO_Profile *this_p, CORBA::ULong max) |
void | service_context_list (TAO_Stub *stub, TAO_Service_Context &service_context, CORBA::Boolean retstart ACE_ENV_ARG_DECL) |
TAO_Fault_Tolerance_Service & | fault_tolerance_service (void) |
Return a reference to the Fault Tolerant service object. | |
TAO::Invocation_Status | service_raise_comm_failure (IOP::ServiceContextList &clist, TAO_Profile *profile ACE_ENV_ARG_DECL) |
TAO::Invocation_Status | service_raise_transient_failure (IOP::ServiceContextList &clist, TAO_Profile *profile ACE_ENV_ARG_DECL) |
Portable Interceptor Related Methods | |
These are support methods for interceptor registration and interceptor set (an array) access, in addition to PICurrent access. | |
TAO::PICurrent * | pi_current (void) |
Return a pointer to the cached TAO::PICurrent object. | |
void | pi_current (TAO::PICurrent *current) |
Set the pointer to the cached TAO::PICurrent object. | |
void | add_interceptor (PortableInterceptor::ClientRequestInterceptor_ptr interceptor ACE_ENV_ARG_DECL) |
Register a client request interceptor. | |
void | add_interceptor (PortableInterceptor::ServerRequestInterceptor_ptr interceptor ACE_ENV_ARG_DECL) |
Register a server request interceptor. | |
TAO::ClientRequestInterceptor_Adapter * | clientrequestinterceptor_adapter (void) |
TAO::ServerRequestInterceptor_Adapter * | serverrequestinterceptor_adapter (void) |
void | add_interceptor (PortableInterceptor::IORInterceptor_ptr interceptor ACE_ENV_ARG_DECL) |
Register an IOR interceptor. | |
Static Public Member Functions | |
void | set_thread_lane_resources_manager_factory (const char *thread_lane_resources_manager_factory_name) |
void | set_collocation_resolver (const char *collocation_resolver_name) |
Sets the value of TAO_ORB_Core::collocation_resolver_name_. | |
void | set_stub_factory (const char *stub_factory_name) |
Sets the value of TAO_ORB_Core::stub_factory_name_. | |
void | set_resource_factory (const char *resource_factory_name) |
Sets the value of TAO_ORB_Core::resource_factory_. | |
void | set_gui_resource_factory (TAO::GUIResource_Factory *gui_resource_factory) |
void | set_protocols_hooks (const char *protocols_hooks_name) |
Sets the value of TAO_ORB_Core::protocols_hooks_. | |
void | set_endpoint_selector_factory (const char *endpoint_selector_factory_name) |
Sets the value of TAO_ORB_Core::endpoint_selector_factory_. | |
void | set_poa_factory (const char *poa_factory_name, const char *poa_factory_directive) |
const ACE_CString & | poa_factory_name (void) |
Access the POA factory name. | |
void | dynamic_adapter_name (const char *name) |
Sets the value of TAO_ORB_Core::dynamic_adapter_name_. | |
const char * | dynamic_adapter_name (void) |
Gets the value of TAO_ORB_Core::dynamic_adapter_name_. | |
void | ifr_client_adapter_name (const char *name) |
Sets the value of TAO_ORB_Core::ifr_client_adapter_name_. | |
const char * | ifr_client_adapter_name (void) |
Gets the value of TAO_ORB_Core::ifr_client_adapter_name_. | |
void | typecodefactory_adapter_name (const char *name) |
Sets the value of TAO_ORB_Core::typecodefactory_adapter_name_. | |
const char * | typecodefactory_adapter_name (void) |
Gets the value of TAO_ORB_Core::typecodefactory_adapter_name_. | |
void | iorinterceptor_adapter_factory_name (const char *name) |
Sets the value of TAO_ORB_Core::iorinterceptor_adapter_factory_name_. | |
const char * | iorinterceptor_adapter_factory_name (void) |
Gets the value of TAO_ORB_Core::iorinterceptor_adapter_factory_name_. | |
void | valuetype_adapter_name (const char *name) |
Sets the value of TAO_ORB_Core::valuetype_adapter_name. | |
const char * | valuetype_adapter_name (void) |
Gets the value of TAO_ORB_Core::valuetype_adapter_name. | |
void | set_timeout_hook (Timeout_Hook hook) |
void | connection_timeout_hook (Timeout_Hook hook) |
Define the Timeout_Hook signature. | |
void | set_sync_scope_hook (Sync_Scope_Hook hook) |
Public Attributes | |
TAO_Protocols_Hooks * | protocols_hooks_ |
Handle to the factory for protocols_hooks_.. | |
Protected Member Functions | |
~TAO_ORB_Core (void) | |
int | init (int &argc, char **argv ACE_ENV_ARG_DECL) |
int | fini (void) |
ACE_Data_Block * | create_data_block_i (size_t size, ACE_Allocator *buffer_allocator, ACE_Allocator *dblock_allocator, ACE_Lock *lock) |
Routine that creates a ACE_Data_Block given the lock and allocators. | |
void | resolve_typecodefactory_i (ACE_ENV_SINGLE_ARG_DECL) |
Obtain and cache the typecode factory object reference. | |
void | resolve_picurrent_i (ACE_ENV_SINGLE_ARG_DECL) |
Obtain and cache the picurrent factory object reference. | |
TAO::ClientRequestInterceptor_Adapter * | clientrequestinterceptor_adapter_i (void) |
TAO::ServerRequestInterceptor_Adapter * | serverrequestinterceptor_adapter_i (void) |
void | resolve_codecfactory_i (ACE_ENV_SINGLE_ARG_DECL) |
Obtain and cache the codec factory object reference. | |
void | resolve_dynanyfactory_i (ACE_ENV_SINGLE_ARG_DECL) |
Obtain and cache the dynamic any factory object reference. | |
void | resolve_iormanipulation_i (ACE_ENV_SINGLE_ARG_DECL) |
Obtain and cache the IORManipulation factory object reference. | |
void | services_callbacks_init (void) |
void | destroy_interceptors (ACE_ENV_SINGLE_ARG_DECL) |
int | set_endpoint_helper (const ACE_CString &lane, const ACE_CString &endpoints ACE_ENV_ARG_DECL) |
TAO::PolicyFactory_Registry_Adapter * | policy_factory_registry_i (void) |
TAO::ORBInitializer_Registry_Adapter * | orbinitializer_registry_i (void) |
ACE_TSS_TYPE (TAO_ORB_Core_TSS_Resources) tss_resources_ | |
This is where the tss resources for this ORB are stored. | |
Protected Attributes | |
TAO_SYNCH_MUTEX | lock_ |
Synchronize internal state... | |
TAO_Thread_Lane_Resources_Manager * | thread_lane_resources_manager_ |
TAO_Collocation_Resolver * | collocation_resolver_ |
TAO_Stub_Factory * | stub_factory_ |
TAO_ProtocolFactorySet * | protocol_factories_ |
CORBA::Object_ptr | implrepo_service_ |
The cached IOR for the Implementation Repository. | |
int | use_implrepo_ |
Flag for whether the implrepo support is enabled or not. | |
int | imr_endpoints_in_ior_ |
Flag for whether to put the ImR endpoints into our object refs. | |
CORBA::Object_ptr | typecode_factory_ |
The cached IOR for the TypeCodeFactory DLL. | |
CORBA::Object_ptr | codec_factory_ |
The cached IOR for the CodecFactory DLL. | |
CORBA::Object_ptr | dynany_factory_ |
The cached object reference for the DynAnyFactory. | |
CORBA::Object_ptr | ior_manip_factory_ |
The cached object reference for the IORManipulataion. | |
CORBA::Object_ptr | ior_table_ |
The cached object reference for the IORTable. | |
CORBA::Object_var | rt_orb_ |
The cached object reference for the RTCORBA::RTORB. | |
CORBA::Object_var | rt_current_ |
The cached object reference for the RTCORBA::Current interface. | |
CORBA::ORB_ptr | orb_ |
CORBA::Object_var | root_poa_ |
TAO_ORB_Parameters | orb_params_ |
Parameters used by the ORB. | |
InitRefMap | init_ref_map_ |
Return InitRefMap to find if a particular object id is present. | |
TAO_Object_Ref_Table | object_ref_table_ |
TAO::ObjectKey_Table | object_key_table_ |
Table that stores the object key instead of caching one per-profile. | |
char * | orbid_ |
The ORBid for this ORB. | |
TAO_Resource_Factory * | resource_factory_ |
Handle to the factory for resource information.. | |
ACE_CString | server_id_ |
The server_id_ that was passed via -ORBServerId option. | |
TAO_Client_Strategy_Factory * | client_factory_ |
Handle to the factory for Client-side strategies. | |
TAO_Server_Strategy_Factory * | server_factory_ |
Handle to the factory for Server-side strategies. | |
CORBA::Boolean | opt_for_collocation_ |
CORBA::Boolean | use_global_collocation_ |
CORBA::ULong | collocation_strategy_ |
Default collocation policy. This should never be ORB_CONTROL. | |
TAO_Policy_Manager * | policy_manager_ |
The Policy_Manager for this ORB. | |
TAO_Policy_Set * | default_policies_ |
The default policies. | |
TAO_Policy_Current * | policy_current_ |
Policy current. | |
TAO_Request_Dispatcher * | request_dispatcher_ |
The request dispatching strategy. | |
CORBA::Object_var | poa_current_ |
TAO_Adapter_Registry | adapter_registry_ |
The list of Adapters used in this ORB. | |
TAO_Adapter * | poa_adapter_ |
An optimization for the POA. | |
ACE_Thread_Manager | tm_ |
The Thread Manager. | |
ACE_Lock_Adapter< TAO_SYNCH_MUTEX > | data_block_lock_ |
The data block reference counts are locked using this mutex. | |
TAO_Cleanup_Func_Registry | tss_cleanup_funcs_ |
int | has_shutdown_ |
Flag which denotes that the ORB has been shutdown. | |
TAO_SYNCH_MUTEX | open_lock_ |
Mutual exclusion for calling open. | |
int | open_called_ |
Flag which denotes that the open method was called. | |
TAO_Endpoint_Selector_Factory * | endpoint_selector_factory_ |
TAO_Eager_Buffering_Sync_Strategy * | eager_buffering_sync_strategy_ |
This strategy will buffer messages. | |
TAO_Delayed_Buffering_Sync_Strategy * | delayed_buffering_sync_strategy_ |
This strategy will buffer messages. | |
TAO_Transport_Sync_Strategy * | transport_sync_strategy_ |
This strategy will sync with the transport. | |
CORBA::ULong | refcount_ |
Number of outstanding references to this object. | |
TAO::PolicyFactory_Registry_Adapter * | policy_factory_registry_ |
Registry containing all registered policy factories. | |
TAO::ORBInitializer_Registry_Adapter * | orbinitializer_registry_ |
Registry containing all orb initializers. | |
TAO::PICurrent * | pi_current_ |
Cached pointer/reference to the PICurrent object. | |
TAO::ClientRequestInterceptor_Adapter * | client_request_interceptor_adapter_ |
The adapter for handling client request interceptors. | |
TAO::ServerRequestInterceptor_Adapter * | server_request_interceptor_adapter_ |
The adapter for handling server request interceptors. | |
TAO_IORInterceptor_Adapter * | ior_interceptor_adapter_ |
IORInterceptor adapter. | |
TAO_Valuetype_Adapter * | valuetype_adapter_ |
Pointer to the valuetype adapter. | |
TAO_Parser_Registry | parser_registry_ |
The IOR parser registry. | |
TAO_BiDir_Adapter * | bidir_adapter_ |
BiDirectional GIOP factory. | |
CORBA::Boolean | bidir_giop_policy_ |
Bir Dir GIOP policy value. | |
TAO_Flushing_Strategy * | flushing_strategy_ |
Hold the flushing strategy. | |
TAO_Codeset_Manager * | codeset_manager_ |
Code Set Manager - points to service object in the service repo. | |
Service Level Hooks | |
TAO_Fault_Tolerance_Service | ft_service_ |
Fault Tolerant service hook. | |
int | thread_per_connection_use_timeout_ |
ACE_Time_Value | thread_per_connection_timeout_ |
Private Member Functions | |
void | resolve_ior_table_i (ACE_ENV_SINGLE_ARG_DECL) |
Obtain and cache the dynamic any factory object reference. | |
CORBA::Boolean | is_collocation_enabled (TAO_ORB_Core *other_orb, const TAO_MProfile &mp) |
TAO_ORB_Core (const TAO_ORB_Core &) | |
void | operator= (const TAO_ORB_Core &) |
Friends | |
class | TAO_ORB_Core_Auto_Ptr |
CORBA::ORB_ptr | CORBA::ORB_init (int &, char *argv[], const char *, CORBA::Environment &) |
This is the implementation class for the CORBA::ORB interface. The class also encapsulates the access to the ORB resources and its state.
|
|
|
|
|
Define the Timeout_Hook signature.
|
|
|
|
Constructor.
|
|
Destructor is protected since the ORB Core is a reference counted object. |
|
|
|
|
|
Reference counting...
|
|
This is where the tss resources for this ORB are stored.
|
|
Get the adapter registry.
|
|
Register an IOR interceptor.
|
|
Register a server request interceptor.
|
|
Register a client request interceptor.
|
|
Register a TSS cleanup function. The slot ID for the corresponding ORB core TSS resource is returned by the reference argument. This method return 0 on success, and -1 on failure. |
|
|
|
Set and Get methods to indicate whether a BiDir IIOP policy has been set in the POA.
|
|
|
|
Invoke the timeout hook if present. The timeout hook is used to determine if the timeout policy is set and with what value. If the ORB is compiled without support for Messaging this feature does not take effect
|
|
Check if ORB has shutdown. If it has, throw an exception.
|
|
Returns pointer to the client factory.
|
|
Get the Client Request Interceptor adapter. Will not create a new one if not available yet. |
|
Get the Client Request Interceptor adapter. If not created, this method will try to create one if needed. |
|
Get Code Set Manager.
|
|
Returns a pointer to the Collocation Resolver.
|
|
This method returns the right collocation strategy, if any, to be used to perform a method invocation on the given object.
|
|
Invoke the timeout hook if present. The timeout hook is used to determine if the timeout policy is set and with what value. If the ORB is compiled without support for Messaging this feature does not take effect
|
|
Define the Timeout_Hook signature.
|
|
Get the connector registry.
|
|
Routine that creates a ACE_Data_Block given the lock and allocators.
|
|
The Message Blocks used for input CDRs must have appropiate locking strategies. |
|
Create a new object, use the adapter registry to create a collocated object, if not possible then create a regular object. |
|
Factory method that create the "right" Stub depending on wheather RTCORBA is loaded or not. The factory used to create the stub, is loaded at ORB initialization, and its type depends on the fact that RTCORBA is being used or not. |
|
Makes sure that the ORB is open and then creates a TAO_Stub based on the endpoint. |
|
The thread has a default environment to simplify porting between platforms that support native C++ exceptions and those that don't. This is a TSS resource (always), but with a twist: if the user creates a new environment the old one is "pushed" (actually the new one remembers it), eventually the new environment destructor pops itself from the stack and we recover the old environment.
|
|
The thread has a default environment to simplify porting between platforms that support native C++ exceptions and those that don't. This is a TSS resource (always), but with a twist: if the user creates a new environment the old one is "pushed" (actually the new one remembers it), eventually the new environment destructor pops itself from the stack and we recover the old environment.
|
|
|
|
Shutdown the ORB and free resources.
|
|
Helper method that invokes Interceptor::destroy() on all registered interceptors when ORB::destroy() is called. Prevents exceptions from propagating up the call chain. |
|
Gets the value of TAO_ORB_Core::dynamic_adapter_name_.
|
|
Sets the value of TAO_ORB_Core::dynamic_adapter_name_.
|
|
|
|
Returns a pointer to the endpoint selector factory.
|
|
Return a reference to the Fault Tolerant service object.
|
|
Final termination hook, typically called by CORBA::ORB's destructor. |
|
Return the flushing strategy. The flushing strategy is created by the resource factory, and it is used by the ORB to control the mechanism used to flush the outgoing data queues. The flushing strategies are stateless, therefore, there is only one per ORB. |
|
Get a cached policy. First, check the ORB-level Policy Manager, then check the ORB defaults. |
|
Get a cached policy. First, check the thread current, then check the ORB-level Policy Manager, then check the ORB defaults. |
|
|
|
Accessor method for the default_policies_.
|
|
Get a policy. First, check the ORB-level Policy Manager, then check the ORB defaults. |
|
Get a policy. First, check the thread current, then check the ORB-level Policy Manager, then check the ORB defaults. |
|
Gets the value of TAO_ORB_Core::protocols_hooks__.
|
|
|
|
Obtain the TSS resource in the given slot.
|
|
Obtain the TSS resources of this orb.
|
|
Returns pointer to the factory for creating gui resources.
|
|
Get the shutdown flag value.
|
|
For details on how this is used please see the FT service |
|
Gets the value of TAO_ORB_Core::ifr_client_adapter_name_.
|
|
Sets the value of TAO_ORB_Core::ifr_client_adapter_name_.
|
|
|
|
|
|
Do we put the ImR's endpoints into persistent object references we create.
|
|
Initialize the guts of the ORB Core. It is intended that this be called by <CORBA::ORB_init>. |
|
Return a pointer to the -ORBInitRef map.
|
|
Initialize a new object, use the adapter registry to initialize a collocated object, if not possible then initialize a regular object. NOTE: Why would this method be required? The answer is if the user decides to use lazy initialization of CORBA object, then this is the route that we have to take to do the initialization. |
|
This allocator is always global and has no locks. It is intended for allocating the buffers used in *incoming* CDR streams. |
|
This allocator is global, may or may not have locks. It is intended for allocating the ACE_Data_Blocks used in *incoming* CDR streams. |
|
This allocator is always global and has no locks. It is intended for allocating the buffers used in *incoming* CDR streams. |
|
Get the IOR Interceptor adapter. If not created, this method will try to create one. |
|
Gets the value of TAO_ORB_Core::iorinterceptor_adapter_factory_name_.
|
|
Sets the value of TAO_ORB_Core::iorinterceptor_adapter_factory_name_.
|
|
See if we have a collocated address, if yes, return the POA associated with the address. |
|
Checks to see whether collocation optimizations have to be applied on objects in the other_orb |
|
For details on how this is used please see the FT service |
|
Get access to the thread lane resources.
|
|
Get access to the leader_follower class.
|
|
Get access to the leader follower strategy.
|
|
List all the service known by the ORB.
|
|
Call the libraries to handover the validators if they havent registered yet with the list of validators. |
|
Return the locking strategy used for the data blocks.
|
|
Choose to be not a default ORB when there is more than one ORB.
|
|
The loaded service would determine if the CORBA::Object_ptr is actually nil or not. This would be useful to accomodate new enhanced definitions as defined by the service specification. |
|
Acceessor to the table that stores the object_keys.
|
|
Return the table that maps object key/name to de-stringified object reference. It is needed for supporting local objects in the resolve_initial_references() mechanism. |
|
|
|
|
|
|
|
Get pointer to the ORB.
|
|
Accessor for the ORB parameters.
|
|
Return ORBid string.
|
|
Return pointer to the orb initializer registry associated with this ORB core. Tries to load the PI library if it is not loaded yet |
|
Return pointer to the orb initializer registry associated with this ORB core. |
|
This allocator is always TSS and has no locks. It is intended for allocating the buffers used in *outgoing* CDR streams. |
|
This allocator is always TSS and has no locks. It is intended for allocating the ACE_Data_Blocks used in *outgoing* CDR streams. |
|
This allocator is always TSS and has no locks. It is intended for allocating the ACE_Data_Blocks used in *outgoing* CDR streams. |
|
Get the IOR parser registry.
|
|
Set the pointer to the cached TAO::PICurrent object.
|
|
Return a pointer to the cached TAO::PICurrent object.
|
|
Get the adapter named "RootPOA" and cache the result, this is an optimization for the POA. |
|
|
|
|
|
Access the POA factory name.
|
|
Accesors to the policy current, this object should be kept in TSS storage. The POA has to reset the policy current object on every upcall. |
|
Return pointer to the policy factory registry associated with this ORB core. |
|
Return pointer to the policy factory registry associated with this ORB core. |
|
Return the Policy_Manager for this ORB.
|
|
Get the protocol factories.
|
|
Returns pointer to the Protocols_Hooks.
|
|
Wrappers that forward the request to the concurrency strategy.
|
|
Register the handle of an open connection with the ORB Core handle set. This handle set will be used to explicitly remove corresponding event handlers from the reactor. |
|
Remove <handle> from the ORB Core's handle set so that it isn't included in the set that is passed to the reactor upon ORB destruction. |
|
Set a new request dispatcher. The ORB Core retains ownership of the request dispatcher once it gets it. Currently, this only gets called at initialization. |
|
Return the current request dispatcher strategy.
|
|
Reset the flags in the loaded services.
|
|
Resolve the CodecFactory DLL.
|
|
Obtain and cache the codec factory object reference.
|
|
Resolve the Dynamic Any Factory.
|
|
Obtain and cache the dynamic any factory object reference.
|
|
Resolve the IOR Manipulation reference for this ORB.
|
|
Resolve the IOR Table reference for this ORB.
|
|
Obtain and cache the dynamic any factory object reference.
|
|
Obtain and cache the IORManipulation factory object reference.
|
|
Resolve the PICurrent.
|
|
Obtain and cache the picurrent factory object reference.
|
|
Resolve an initial reference via the -ORBInitRef and.
|
|
Resolve the RT ORB reference for this ORB.
|
|
Resolve the TypeCodeFactory DLL.
|
|
Obtain and cache the typecode factory object reference.
|
|
Returns pointer to the resource factory.
|
|
Return the RootPOA, or try to load it if not initialized already.
|
|
Run the event loop.
|
|
Returns pointer to the server factory.
|
|
Resolve the RT Current flyweight for this ORB. Return server_id string. |
|
Get the Server Request Interceptor adapter. Will not create a new one if not available yet. |
|
Get the Server Request Interceptor adapter. If not created, this method will try to create one if needed. |
|
Call the service layers with the Service Context to check whether they would like to add something to the list. |
|
The loaded service in the ORB_Core would determine if the profile reselection is going to be made by the services or not. If the services do make the reselection they would return the selected profile through <profile>. The reselction is for the multi-profile IORS. |
|
The loaded service in the ORB_Core would determine if the profile selection is going to be made by the services or not. If the services do make the selection they would return the selected profile through <profile>. |
|
Raise a comm failure exception if a service is not loaded, else delegate to the service to see what the service has to do for this case. |
|
Raise a transient failure exception if a service is not loaded, else delegate to the service to see what the service has to do for this case. |
|
Search the Dynamic service list for well known services that has callbacks which can be dynamically loaded. |
|
Sets the value of TAO_ORB_Core::collocation_resolver_name_.
|
|
Set the ORB related to the orb_id as the default ORB and not the ORB that is first binded in the ORB Table |
|
Pointer to the list of protocol loaded into this ORB instance. Helper method to hold the common code part for -ORBEndpoint and -ORBListenEndpoint options. |
|
Sets the value of TAO_ORB_Core::endpoint_selector_factory_.
|
|
Sets the value of TAO_ORB_Core::gui_resource_factory_. Sets the value of gui_resource_factory in TSS. ORB_Core is responsible for releasing this factory if needed. |
|
Sets the name of the POA factory and the dynamic service configurator directive to load it if needed. |
|
Sets the value of TAO_ORB_Core::protocols_hooks_.
|
|
Sets the value of TAO_ORB_Core::resource_factory_.
|
|
Sets the value of TAO_ORB_Core::stub_factory_name_.
|
|
|
|
Sets the value of TAO_ORB_Core::thread_lane_resources_manager_factory_name_ |
|
|
|
Set the TSS resource at the given slot. Returns 0 on success, and -1 on failure. |
|
End the event loop.
|
|
Returns a pointer to the Stub factory.
|
|
Get the ACE_Thread_Manager.
|
|
Returns a pointer to the Thread Lane Resources Manager.
|
|
Returns the <timeout> value used by the server threads to poll the shutdown flag. If the return value is zero then the server threads block forever. |
|
This allocator is always global and has no locks. It is intended for allocating the buffers used to queue messages in transports. |
|
This strategy will sync with the transport.
|
|
Return the underlying TSS cleanup function registry.
|
|
Gets the value of TAO_ORB_Core::typecodefactory_adapter_name_.
|
|
Sets the value of TAO_ORB_Core::typecodefactory_adapter_name_.
|
|
|
|
|
|
Do we attempt to register with the Implementation Repository.
|
|
Return the valuetype adapter.
|
|
Gets the value of TAO_ORB_Core::valuetype_adapter_name.
|
|
Sets the value of TAO_ORB_Core::valuetype_adapter_name.
|
|
|
|
|
|
The list of Adapters used in this ORB.
|
|
BiDirectional GIOP factory.
|
|
Bir Dir GIOP policy value.
|
|
Handle to the factory for Client-side strategies.
|
|
The adapter for handling client request interceptors.
|
|
The cached IOR for the CodecFactory DLL.
|
|
Code Set Manager - points to service object in the service repo.
|
|
|
|
Default collocation policy. This should never be ORB_CONTROL.
|
|
The data block reference counts are locked using this mutex.
|
|
The default policies.
|
|
This strategy will buffer messages.
|
|
The cached object reference for the DynAnyFactory.
|
|
This strategy will buffer messages.
|
|
|
|
Hold the flushing strategy.
|
|
Fault Tolerant service hook.
|
|
Flag which denotes that the ORB has been shutdown.
|
|
The cached IOR for the Implementation Repository.
|
|
Flag for whether to put the ImR endpoints into our object refs.
|
|
Return InitRefMap to find if a particular object id is present.
|
|
IORInterceptor adapter.
|
|
The cached object reference for the IORManipulataion.
|
|
The cached object reference for the IORTable.
|
|
Synchronize internal state...
|
|
Table that stores the object key instead of caching one per-profile.
|
|
Table that maps object key/name to (de-stringified) object reference. It is needed for supporting local objects in the resolve_initial_references() mechanism. |
|
Flag which denotes that the open method was called.
|
|
Mutual exclusion for calling open.
|
|
TRUE if we want to take advantage of collocation optimization in this ORB. |
|
|
|
Parameters used by the ORB.
|
|
The ORBid for this ORB.
|
|
Registry containing all orb initializers.
|
|
The IOR parser registry.
|
|
Cached pointer/reference to the PICurrent object. A pointer/reference to the PICurrent object is cached in the ORB Core since it is accessed in the critical path (i.e. the request invocation path). Caching it prevents additional overhead to due object resolution from occurring. |
|
An optimization for the POA.
|
|
POA current.
|
|
Policy current.
|
|
Registry containing all registered policy factories.
|
|
The Policy_Manager for this ORB.
|
|
|
|
Handle to the factory for protocols_hooks_..
|
|
Number of outstanding references to this object.
|
|
The request dispatching strategy.
|
|
Handle to the factory for resource information..
|
|
Object reference to the root POA. It will eventually be the object reference returned by calls to CORBA::ORB::resolve_initial_references ("RootPOA"). |
|
The cached object reference for the RTCORBA::Current interface.
|
|
The cached object reference for the RTCORBA::RTORB.
|
|
Handle to the factory for Server-side strategies.
|
|
The server_id_ that was passed via -ORBServerId option.
|
|
The adapter for handling server request interceptors.
|
|
|
|
|
|
|
|
|
|
The Thread Manager.
|
|
This strategy will sync with the transport.
|
|
TSS Object cleanup functions. These correspond to the TSS objects stored in TAO's TSS resources. |
|
The cached IOR for the TypeCodeFactory DLL.
|
|
TRUE if we want to consider all ORBs in this address space collocated. |
|
Flag for whether the implrepo support is enabled or not.
|
|
Pointer to the valuetype adapter.
|