#include <Adapter.h>
Public Types | |
enum | { DS_OK, DS_FAILED, DS_MISMATCHED_KEY, DS_FORWARD } |
Public Member Functions | |
virtual | ~TAO_Adapter (void) |
virtual void | open ()=0 |
Initialize the Adapter. | |
virtual void | close (int wait_for_completion)=0 |
virtual void | check_close (int wait_for_completion)=0 |
virtual int | priority (void) const=0 |
virtual int | dispatch (TAO::ObjectKey &key, TAO_ServerRequest &request, CORBA::Object_out forward_to)=0 |
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 *)=0 |
|
Definition at line 76 of file Adapter.h.
00076 { 00077 /// The operation was successfully dispatched, an exception may 00078 /// have been raised, but that is a correct execution too. 00079 DS_OK, 00080 00081 /// There was a problem in dispatching the operation. 00082 DS_FAILED, 00083 00084 /// The key is not in the right format for this Adapter, try the 00085 /// next one. 00086 DS_MISMATCHED_KEY, 00087 00088 /// Forward the request to another object reference, this decouples 00089 /// the ORB from the PortableServer::ForwardRequest exception 00090 DS_FORWARD 00091 }; |
|
Definition at line 11 of file Adapter.cpp.
00012 { 00013 } |
|
Check if the adapter can be closed in the current context, raise an exception if not. Referenced by TAO_Adapter_Registry::check_close(). |
|
The ORB is shutting down, destroy any resources attached to this adapter. Referenced by TAO_Adapter_Registry::close(). |
|
Create a collocated object using the given profile and stub.
Referenced by TAO_Adapter_Registry::create_collocated_object(). |
|
Return the status....
Referenced by TAO_Adapter_Registry::dispatch(). |
|
Initialize a collocated object using the given stub pointer for lazily evaluated object references. Referenced by TAO_Adapter_Registry::initialize_collocated_object(). |
|
Return the name, i.e. the object id used to resolve it in the ORB. |
|
Initialize the Adapter.
Referenced by TAO_ORB_Core::root_poa(). |
|
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(). |
|
Return the root of the Object Adapter. Each adapter defines its own IDL interface accessed through the method above. Referenced by TAO_ORB_Core::root_poa(). |