3 //=============================================================================
5 * @file Collocated_Object_Proxy_Broker.h
7 * This files contains the Collocated Proxy Broker implementation
8 * for the CORBA Object.
10 * @author Angelo Corsaro <corsaro@cs.wustl.edu>
11 * @author Balachandran Natarajan (modified the implementation)
13 //=============================================================================
15 #ifndef TAO_COLLOCATED_OBJECT_PROXY_BROKER_H
16 #define TAO_COLLOCATED_OBJECT_PROXY_BROKER_H
17 #include /**/ "ace/pre.h"
19 #include "tao/PortableServer/portableserver_export.h"
21 #if !defined (ACE_LACKS_PRAGMA_ONCE)
23 #endif /* ACE_LACKS_PRAGMA_ONCE */
25 #include "tao/Object_Proxy_Broker.h"
27 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
32 * @class Collocated_Object_Proxy_Broker
34 * @brief Collocated_Object_Proxy_Broker
36 * A broker for standard CORBA::Object calls that needs to be made
39 class TAO_PortableServer_Export Collocated_Object_Proxy_Broker
40 : public Object_Proxy_Broker
43 /// Please see the documentation in Object_Proxy_Broker.h for
45 virtual CORBA::Boolean
_is_a (CORBA::Object_ptr target
,
46 const char *logical_type_id
);
48 #if (TAO_HAS_MINIMUM_CORBA == 0)
50 virtual CORBA::Boolean
_non_existent (CORBA::Object_ptr target
);
52 #if !defined (CORBA_E_COMPACT) && !defined (CORBA_E_MICRO)
53 virtual CORBA::InterfaceDef
* _get_interface (CORBA::Object_ptr target
);
55 virtual CORBA::Object_ptr
_get_component (CORBA::Object_ptr target
);
58 virtual char * _repository_id (CORBA::Object_ptr target
);
60 #endif /* TAO_HAS_MINIMUM_CORBA == 0 */
65 // -----------------------------------------------------
67 /// This function is used to access the unique instance of strategized
68 /// proxy broker. All the CORBA::Object share the proxy broker.
69 TAO::Collocated_Object_Proxy_Broker
*the_tao_collocated_object_proxy_broker ();
71 TAO_END_VERSIONED_NAMESPACE_DECL
73 #include /**/ "ace/post.h"
75 #endif /* TAO_COLLOCATED_OBJECT_PROXY_BROKER_H*/