diff options
author | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-10-29 03:57:33 +0000 |
---|---|---|
committer | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-10-29 03:57:33 +0000 |
commit | 0326e56986e2a3bab2c907c2ae670840752f96d8 (patch) | |
tree | c8e0413cfada787576aa156cc2bc91ce006b663f /TAO/tao/Dynamic_Adapter.cpp | |
parent | 14fe4a09642f512a68901de0b35595aea14069bc (diff) | |
download | ATCD-0326e56986e2a3bab2c907c2ae670840752f96d8.tar.gz |
ChangeLogTag: Tue Oct 28 21:51:19 2003 Jeff Parsons <j.parsons@vanderbilt.edu>
Diffstat (limited to 'TAO/tao/Dynamic_Adapter.cpp')
-rw-r--r-- | TAO/tao/Dynamic_Adapter.cpp | 75 |
1 files changed, 3 insertions, 72 deletions
diff --git a/TAO/tao/Dynamic_Adapter.cpp b/TAO/tao/Dynamic_Adapter.cpp index 6885ccf151b..4db3657cee7 100644 --- a/TAO/tao/Dynamic_Adapter.cpp +++ b/TAO/tao/Dynamic_Adapter.cpp @@ -4,83 +4,14 @@ #include "tao/ORB_Core.h" #include "ace/Dynamic_Service.h" -ACE_RCSID(tao, Dynamic_Adapter, "$Id$") +ACE_RCSID (tao, + Dynamic_Adapter, + "$Id$") TAO_Dynamic_Adapter::~TAO_Dynamic_Adapter (void) { } -// *********************************************************************** - -// Implementation of the CORBA::is_nil and CORBA::release methods for -// Context, Request, and ServerRequest. - -CORBA::Boolean -CORBA::is_nil (CORBA::Context_ptr ctx) -{ - TAO_Dynamic_Adapter *dynamic_adapter = - ACE_Dynamic_Service<TAO_Dynamic_Adapter>::instance ( - TAO_ORB_Core::dynamic_adapter_name () - ); - - return dynamic_adapter->context_is_nil (ctx); -} - -CORBA::Boolean -CORBA::is_nil (CORBA::Request_ptr req) -{ - TAO_Dynamic_Adapter *dynamic_adapter = - ACE_Dynamic_Service<TAO_Dynamic_Adapter>::instance ( - TAO_ORB_Core::dynamic_adapter_name () - ); - - return dynamic_adapter->request_is_nil (req); -} - -CORBA::Boolean -CORBA::is_nil (CORBA::ServerRequest_ptr req) -{ - TAO_Dynamic_Adapter *dynamic_adapter = - ACE_Dynamic_Service<TAO_Dynamic_Adapter>::instance ( - TAO_ORB_Core::dynamic_adapter_name () - ); - - return dynamic_adapter->server_request_is_nil (req); -} - -void -CORBA::release (CORBA::Context_ptr ctx) -{ - TAO_Dynamic_Adapter *dynamic_adapter = - ACE_Dynamic_Service<TAO_Dynamic_Adapter>::instance ( - TAO_ORB_Core::dynamic_adapter_name () - ); - - dynamic_adapter->context_release (ctx); -} - -void -CORBA::release (CORBA::Request_ptr req) -{ - TAO_Dynamic_Adapter *dynamic_adapter = - ACE_Dynamic_Service<TAO_Dynamic_Adapter>::instance ( - TAO_ORB_Core::dynamic_adapter_name () - ); - - dynamic_adapter->request_release (req); -} - -void -CORBA::release (CORBA::ServerRequest_ptr req) -{ - TAO_Dynamic_Adapter *dynamic_adapter = - ACE_Dynamic_Service<TAO_Dynamic_Adapter>::instance ( - TAO_ORB_Core::dynamic_adapter_name () - ); - - dynamic_adapter->server_request_release (req); -} - #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) template class ACE_Dynamic_Service<TAO_Dynamic_Adapter>; |