#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 (void)=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 75 of file Adapter.h.
00075 {
00076 /// The operation was successfully dispatched, an exception may
00077 /// have been raised, but that is a correct execution too.
00078 DS_OK,
00079
00080 /// There was a problem in dispatching the operation.
00081 DS_FAILED,
00082
00083 /// The key is not in the right format for this Adapter, try the
00084 /// next one.
00085 DS_MISMATCHED_KEY,
00086
00087 /// Forward the request to another object reference, this decouples
00088 /// the ORB from the PortableServer::ForwardRequest exception
00089 DS_FORWARD
00090 };
|
|
|
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.
|
|
|
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. |
1.3.6