Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages

# TAO_Adapter Class Reference

`#include <Adapter.h>`

List of all members.

## Public Types
enum | { DS_OK, DS_FAILED, DS_MISMATCHED_KEY, DS_FORWARD }
## Public Methods
virtual | ~TAO_Adapter (void)
virtual void | open (ACE_ENV_SINGLE_ARG_DECL)=0
| Initialize the Adapter.
virtual void | close (int wait_for_completion ACE_ENV_ARG_DECL)=0
virtual void | check_close (int wait_for_completion ACE_ENV_ARG_DECL)=0
virtual int | priority (void) const=0
virtual int | dispatch (TAO::ObjectKey &key, TAO_ServerRequest &request, CORBA::Object_out forward_to ACE_ENV_ARG_DECL)=0 throw (CORBA::SystemException)
| Return the status....
virtual const char * | name (void) const=0
virtual CORBA::Object_ptr | root (void)=0
virtual CORBA::Object_ptr | create_collocated_object (TAO_Stub *, const TAO_MProfile &)=0
| Create a collocated object using the given profile and stub.
virtual CORBA::Long | initialize_collocated_object (TAO_Stub *, CORBA::Object_ptr)=0

## Member Enumeration Documentation

anonymous enum

  | Enumeration values:
  DS_OK |
  DS_FAILED |
  DS_MISMATCHED_KEY |
  DS_FORWARD |

## Constructor & Destructor Documentation

TAO_Adapter::~TAO_Adapter | ( | void |  | ) | `[virtual]`

## Member Function Documentation

virtual void TAO_Adapter::check_close | ( | int wait_for_completion | ACE_ENV_ARG_DECL | ) | `[pure virtual]`

| Check if the adapter can be closed in the current context, raise an exception if not.

virtual void TAO_Adapter::close | ( | int wait_for_completion | ACE_ENV_ARG_DECL | ) | `[pure virtual]`

| The ORB is shutting down, destroy any resources attached to this adapter.

virtual CORBA::Object_ptr TAO_Adapter::create_collocated_object | ( | TAO_Stub * | ,
|  | const TAO_MProfile & |
| ) | `[pure virtual]`

| Create a collocated object using the given profile and stub.

virtual int TAO_Adapter::dispatch | ( | TAO::ObjectKey & | key,
|  | TAO_ServerRequest & | request,
|  | CORBA::Object_out forward_to | ACE_ENV_ARG_DECL
| ) | throw (CORBA::SystemException)`[pure virtual]`

| Return the status....

virtual CORBA::Long TAO_Adapter::initialize_collocated_object | ( | TAO_Stub * | ,
|  | CORBA::Object_ptr |
| ) | `[pure virtual]`

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

virtual const char* TAO_Adapter::name | ( | void |  | ) | const`[pure virtual]`

| Return the name, i.e. the object id used to resolve it in the ORB.

virtual void TAO_Adapter::open | ( | ACE_ENV_SINGLE_ARG_DECL |  | ) | `[pure virtual]`

| Initialize the Adapter.

virtual int TAO_Adapter::priority | ( | void |  | ) | const`[pure virtual]`

| Return the priority assigned to this adapter. Adapters at higher priority are used first, the first adapter that matches a key is used to dispatch a request.

virtual CORBA::Object_ptr TAO_Adapter::root | ( | void |  | ) | `[pure virtual]`

| Return the root of the Object Adapter. Each adapter defines its own IDL interface accessed through the method above.

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

- Adapter.h
- Adapter.cpp