#include <Adapter.h>
Collaboration diagram for TAO_Adapter_Registry:
Public Methods | |
TAO_Adapter_Registry (TAO_ORB_Core *orb_core) | |
~TAO_Adapter_Registry (void) | |
Close the. More... | |
void | close (int wait_for_completion ACE_ENV_ARG_DECL) throw () |
Close each of of the Adapters and then cleanup the Registry. More... | |
void | check_close (int wait_for_completion ACE_ENV_ARG_DECL) throw () |
Verify if the close() call can be invoked in the current context for *all* adapters. More... | |
void | insert (TAO_Adapter *adapter ACE_ENV_ARG_DECL) |
Insert a new adapter into the registry. More... | |
void | dispatch (TAO_ObjectKey &key, TAO_ServerRequest &request, CORBA::Object_out forward_to ACE_ENV_ARG_DECL) throw (CORBA::SystemException) |
Dispatch the request to all the adapters. More... | |
CORBA::Object_ptr | create_collocated_object (TAO_Stub *, const TAO_MProfile &) |
Create a collocated object using the given profile and stub. More... | |
TAO_Adapter * | find_adapter (const char *name) const |
Fetch the adapter named <name>. More... | |
Private Attributes | |
TAO_ORB_Core * | orb_core_ |
The ORB Core. More... | |
size_t | adapters_capacity_ |
A simple array of adapters. More... | |
size_t | adapters_count_ |
TAO_Adapter ** | adapters_ |
|
|
|
Close the.
|
|
Verify if the close() call can be invoked in the current context for *all* adapters. Raise the right exception if not. |
|
Close each of of the Adapters and then cleanup the Registry. It is possible that an Adapter will reject a close() call if it is invoked in an innapropriate context (think shutting down the POA while performing an upcall). |
|
Create a collocated object using the given profile and stub.
|
|
Dispatch the request to all the adapters. It tries the adapters ordered by priority, stopping when the adapter returns a status different from DS_MISMATCHED_KEY |
|
Fetch the adapter named <name>.
|
|
Insert a new adapter into the registry.
|
|
|
|
A simple array of adapters.
|
|
|
|
The ORB Core.
|