Horus Doc || Corba Reference || Corba   Client Server   Stubs C++   Stubs Java   Servant Generator  

HxCorbaMediator.h

Go to the documentation of this file.
00001 /*
00002  *  Copyright (c) 2001, University of Amsterdam, The Netherlands.
00003  *  All rights reserved.
00004  *
00005  *  Author(s):
00006  *  Marc Navarro            (mnavarro@wins.uva.nl)
00007  */
00008 
00009 #ifndef HxCorbaMediator_h
00010 #define HxCorbaMediator_h
00011 
00012 #include <OB/CORBA.h>
00013 
00014 
00020 class HxCorbaMediator
00021 {
00022 public:
00023     static HxCorbaMediator*     instance();
00024 
00025     virtual                     ~HxCorbaMediator();
00026 
00027     virtual CORBA::ORB_ptr      orb() = 0;
00028     virtual CORBA::Object_ptr   getInitialObject(const char* name) = 0;
00029     virtual CORBA::Object_ptr   getService(const char* name) = 0;
00030     virtual char*               object_to_string(CORBA::Object_ptr obj) = 0;
00031     virtual CORBA::Object_ptr   string_to_object(const char* ref) = 0;
00032 
00033 protected:
00034                                 HxCorbaMediator();
00035 
00036 private:
00037     static HxCorbaMediator*     _inst;
00038 };
00039 
00040 #endif // HxCorbaMediator_h

Generated on Mon Jan 27 15:20:51 2003 for CorbaReference by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001