TAO 4.0.1
Loading...
Searching...
No Matches
Public Member Functions | Private Member Functions | List of all members
TAO_Adapter_Registry Class Reference

#include <Adapter_Registry.h>

Collaboration diagram for TAO_Adapter_Registry:
Collaboration graph
[legend]

Public Member Functions

 TAO_Adapter_Registry (TAO_ORB_Core *)
 
 ~TAO_Adapter_Registry ()
 Close the.
 
void close (int wait_for_completion)
 
void check_close (int wait_for_completion)
 
void insert (TAO_Adapter *adapter)
 Insert a new adapter into the registry.
 
void dispatch (TAO::ObjectKey &key, TAO_ServerRequest &request, CORBA::Object_out forward_to)
 
CORBA::Object_ptr create_collocated_object (TAO_Stub *, const TAO_MProfile &)
 Create a collocated object using the given profile and stub.
 
CORBA::Long initialize_collocated_object (TAO_Stub *)
 
TAO_Adapterfind_adapter (const char *name) const
 Fetch the adapter named name.
 

Private Member Functions

 TAO_Adapter_Registry (const TAO_Adapter_Registry &)=delete
 
TAO_Adapter_Registryoperator= (const TAO_Adapter_Registry &)=delete
 

Private Attributes

A simple array of adapters.
size_t adapters_capacity_
 
size_t adapters_count_
 
TAO_Adapter ** adapters_
 

Constructor & Destructor Documentation

◆ TAO_Adapter_Registry() [1/2]

TAO_Adapter_Registry::TAO_Adapter_Registry ( TAO_ORB_Core * )
explicit

◆ ~TAO_Adapter_Registry()

TAO_Adapter_Registry::~TAO_Adapter_Registry ( )

Close the.

◆ TAO_Adapter_Registry() [2/2]

TAO_Adapter_Registry::TAO_Adapter_Registry ( const TAO_Adapter_Registry & )
privatedelete

Member Function Documentation

◆ check_close()

void TAO_Adapter_Registry::check_close ( int wait_for_completion)

Verify if the close() call can be invoked in the current context for all adapters. Raise the right exception if not.

◆ close()

void TAO_Adapter_Registry::close ( int wait_for_completion)

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 inappropriate context (think shutting down the POA while performing an upcall).

◆ create_collocated_object()

CORBA::Object_ptr TAO_Adapter_Registry::create_collocated_object ( TAO_Stub * stub,
const TAO_MProfile & mprofile )

Create a collocated object using the given profile and stub.

◆ dispatch()

void TAO_Adapter_Registry::dispatch ( TAO::ObjectKey & key,
TAO_ServerRequest & request,
CORBA::Object_out forward_to )

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

◆ find_adapter()

TAO_Adapter * TAO_Adapter_Registry::find_adapter ( const char * name) const

Fetch the adapter named name.

◆ initialize_collocated_object()

CORBA::Long TAO_Adapter_Registry::initialize_collocated_object ( TAO_Stub * stub)

Initialize a collocated object using the given stub and object pointer for lazily evaluated object references.

◆ insert()

void TAO_Adapter_Registry::insert ( TAO_Adapter * adapter)

Insert a new adapter into the registry.

◆ operator=()

TAO_Adapter_Registry & TAO_Adapter_Registry::operator= ( const TAO_Adapter_Registry & )
privatedelete

Member Data Documentation

◆ adapters_

TAO_Adapter** TAO_Adapter_Registry::adapters_
private

◆ adapters_capacity_

size_t TAO_Adapter_Registry::adapters_capacity_
private

◆ adapters_count_

size_t TAO_Adapter_Registry::adapters_count_
private

The documentation for this class was generated from the following files: