00001 // -*- C++ -*- 00002 00003 //============================================================================= 00004 /** 00005 * @file Object_Proxy_Broker.h 00006 * 00007 * Object_Proxy_Broker.h,v 1.11 2005/11/02 07:13:04 ossama Exp 00008 * 00009 * This files contains the abstract class for the CORBA Object 00010 * proxy brokers. 00011 * 00012 * @author Angelo Corsaro <corsaro@cs.wustl.edu> 00013 * Modified by 00014 * @author Balachandran Natarajan <bala@dre.vanderbilt.edu> 00015 */ 00016 //============================================================================= 00017 00018 00019 #ifndef TAO_OBJECT_PROXY_BROKER_H 00020 #define TAO_OBJECT_PROXY_BROKER_H 00021 00022 #include /**/ "ace/pre.h" 00023 #include "ace/CORBA_macros.h" 00024 00025 #if !defined (ACE_LACKS_PRAGMA_ONCE) 00026 # pragma once 00027 #endif /* ACE_LACKS_PRAGMA_ONCE */ 00028 00029 #include "tao/TAO_Export.h" 00030 #include "tao/Basic_Types.h" 00031 #include "tao/orbconf.h" 00032 00033 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00034 00035 namespace CORBA 00036 { 00037 class InterfaceDef; 00038 00039 class Object; 00040 typedef Object *Object_ptr; 00041 00042 class Environment; 00043 } 00044 00045 namespace TAO 00046 { 00047 /** 00048 * @class Object_Proxy_Broker 00049 * 00050 * @brief Object_Proxy_Broker 00051 * 00052 */ 00053 class TAO_Export Object_Proxy_Broker 00054 { 00055 public: 00056 00057 /// Destructor 00058 virtual ~Object_Proxy_Broker (void); 00059 00060 virtual CORBA::Boolean _is_a (CORBA::Object_ptr target, 00061 const char *logical_type_id 00062 ACE_ENV_ARG_DECL) = 0; 00063 00064 #if (TAO_HAS_MINIMUM_CORBA == 0) 00065 00066 virtual CORBA::Boolean _non_existent (CORBA::Object_ptr target 00067 ACE_ENV_ARG_DECL) = 0; 00068 00069 virtual CORBA::InterfaceDef *_get_interface ( 00070 CORBA::Object_ptr target 00071 ACE_ENV_ARG_DECL 00072 ) = 0; 00073 00074 virtual CORBA::Object_ptr _get_component (CORBA::Object_ptr target 00075 ACE_ENV_ARG_DECL) = 0; 00076 00077 virtual char * _repository_id (CORBA::Object_ptr target 00078 ACE_ENV_ARG_DECL) = 0; 00079 00080 #endif /* TAO_HAS_MINIMUM_CORBA == 0 */ 00081 }; 00082 } 00083 00084 TAO_END_VERSIONED_NAMESPACE_DECL 00085 00086 #include /**/ "ace/post.h" 00087 00088 #endif /* TAO_OBJECT_PROXY_BROKER_H_ */