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_NOT_USED)=0
 Initialize the Adapter. More...

virtual void close (int wait_for_completion ACE_ENV_ARG_DECL_NOT_USED)=0
 The ORB is shutting down, destroy any resources attached to this adapter. More...

virtual void check_close (int wait_for_completion ACE_ENV_ARG_DECL_NOT_USED)=0
 Check if the adapter can be closed in the current context, raise an exception if not. More...

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.... More...

virtual const char * name (void) const=0
 Return the name, i.e. the object id used to resolve it in the ORB. More...

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. More...


Member Enumeration Documentation

anonymous enum
 

Enumeration values:
DS_OK 
DS_FAILED 
DS_MISMATCHED_KEY 
DS_FORWARD 

Definition at line 70 of file Adapter.h.

00070        {
00071     DS_OK,
00072     // The operation was successfully dispatched, an exception may
00073     // have been raised, but that is a correct execution too.
00074 
00075     DS_FAILED,
00076     // There was a problem in dispatching the operation.
00077 
00078     DS_MISMATCHED_KEY,
00079     // The key is not in the right format for this Adapter, try the
00080     // next one.
00081 
00082     DS_FORWARD
00083     // Forward the request to another object reference, this decouples
00084     // the ORB from the PortableServer::ForwardRequest exception
00085   };


Constructor & Destructor Documentation

TAO_Adapter::~TAO_Adapter void    [virtual]
 

Definition at line 21 of file Adapter.cpp.

00022 {
00023 }


Member Function Documentation

virtual void TAO_Adapter::check_close int wait_for_completion    ACE_ENV_ARG_DECL_NOT_USED [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_NOT_USED [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.

Referenced by TAO_Adapter_Registry::create_collocated_object.

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 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_NOT_USED    [pure virtual]
 

Initialize the Adapter.

Referenced by TAO_ORB_Core::resolve_ior_table_i, and TAO_ORB_Core::root_poa.

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.

Referenced by TAO_Adapter_Registry::insert.

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.

Referenced by TAO_ORB_Core::resolve_ior_table_i, and TAO_ORB_Core::root_poa.


The documentation for this class was generated from the following files:
Generated on Mon Jun 16 15:02:42 2003 for TAO by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002