00001 00005 /* -------------------------------------------------------------- 00006 Copyright (C) 2001 LifeLine Networks BV <soap2corba@lifeline.nl> 00007 00008 This program is free software; you can redistribute it and/or 00009 modify it under the terms of the GNU General Public License 00010 as published by the Free Software Foundation; either 00011 version 2 of the License, or (at your option) any later 00012 version. 00013 00014 This program is distributed in the hope that it will be useful, 00015 but WITHOUT ANY WARRANTY; without even the implied warranty of 00016 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00017 GNU General Public License for more details. 00018 00019 You should have received a copy of the GNU General Public License 00020 along with this program; if not, write to the Free Software 00021 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 00022 -------------------------------------------------------------- */ 00023 00024 #ifndef ___NameClient_impl_h__ 00025 #define ___NameClient_impl_h__ 00026 00027 #include <NameClient_skel.h> 00028 00029 00030 namespace SimpleNameServer 00031 { 00033 class SimpleNamingClient_impl : virtual public POA_SimpleNameServer::SimpleNamingClient, 00034 virtual public PortableServer::RefCountServantBase 00035 { 00037 SimpleNamingClient_impl(const SimpleNamingClient_impl&); 00039 void operator=(const SimpleNamingClient_impl&); 00040 00042 CosNaming::NamingContext_ptr inc_; 00043 public: 00045 SimpleNamingClient_impl(CosNaming::NamingContext_ptr inc); 00047 ~SimpleNamingClient_impl(); 00048 00050 virtual CORBA::Object_ptr Resolve(const char* name) 00051 throw(CORBA::SystemException); 00052 }; 00053 00054 } // End of namespace SimpleNameServer 00055 00056 #endif 00057