Revert "Minor modernization of DynamicAny code"
[ACE_TAO.git] / TAO / tao / Remote_Object_Proxy_Broker.h
blob31bb14732127e4e3099b5f752eb6bb95ee1e36fc
1 // -*- C++ -*-
3 //=============================================================================
4 /**
5 * @file Remote_Object_Proxy_Broker.h
7 * This files contains the Remote 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_REMOTE_OBJECT_PROXY_BROKER_H
16 #define TAO_REMOTE_OBJECT_PROXY_BROKER_H
18 #include /**/ "ace/pre.h"
20 #include "tao/Object_Proxy_Broker.h"
21 #include "tao/orbconf.h"
23 #if !defined (ACE_LACKS_PRAGMA_ONCE)
24 # pragma once
25 #endif /* ACE_LACKS_PRAGMA_ONCE */
27 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
29 namespace TAO
31 /**
32 * @class Remote_Object_Proxy_Broker
34 * @brief Remote_Object_Proxy_Broker
36 * A broker for standard CORBA::Object calls that needs to be made
37 * on remote objects.
40 class TAO_Export Remote_Object_Proxy_Broker : public Object_Proxy_Broker
42 public:
43 /// Please see the documentation in Object_Proxy_Broker.h for
44 /// details.
46 virtual CORBA::Boolean _is_a (CORBA::Object_ptr target,
47 const char *logical_type_id);
49 #if (TAO_HAS_MINIMUM_CORBA == 0)
51 virtual CORBA::Boolean _non_existent (CORBA::Object_ptr target);
53 virtual CORBA::InterfaceDef * _get_interface (CORBA::Object_ptr target);
55 virtual CORBA::Object_ptr _get_component (CORBA::Object_ptr target);
57 virtual char * _repository_id (CORBA::Object_ptr target);
58 #endif /* TAO_HAS_MINIMUM_CORBA == 0 */
63 // -----------------------------------------------------
65 TAO::Remote_Object_Proxy_Broker *the_tao_remote_object_proxy_broker ();
67 TAO_END_VERSIONED_NAMESPACE_DECL
69 #include /**/ "ace/post.h"
71 #endif /* TAO_REMOTE_OBJECT_PROXY_BROKER_H */