diff options
author | bala <bala@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-10-28 18:31:01 +0000 |
---|---|---|
committer | bala <bala@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-10-28 18:31:01 +0000 |
commit | cdb6fd66611283a0314ab23e08472d11dae4f0e4 (patch) | |
tree | fd6ae8c3db752254802dfaafd1543974a4741e47 /TAO/tao/Remote_Object_Proxy_Broker.h | |
parent | f984aa2bff444f381570d2f97ac9ba958926fb6b (diff) | |
download | ATCD-cdb6fd66611283a0314ab23e08472d11dae4f0e4.tar.gz |
ChangeLogTag:Tue Oct 28 12:02:47 2003 Balachandran Natarajan <bala@dre.vanderbilt.edu>
Diffstat (limited to 'TAO/tao/Remote_Object_Proxy_Broker.h')
-rw-r--r-- | TAO/tao/Remote_Object_Proxy_Broker.h | 55 |
1 files changed, 38 insertions, 17 deletions
diff --git a/TAO/tao/Remote_Object_Proxy_Broker.h b/TAO/tao/Remote_Object_Proxy_Broker.h index f90f4a78272..1054dcf66ac 100644 --- a/TAO/tao/Remote_Object_Proxy_Broker.h +++ b/TAO/tao/Remote_Object_Proxy_Broker.h @@ -10,41 +10,62 @@ * for the CORBA Object. * * @author Angelo Corsaro <corsaro@cs.wustl.edu> + * @author Balachandran Natarajan (modified the implementation) */ //============================================================================= - #ifndef TAO_REMOTE_OBJECT_PROXY_BROKER_H #define TAO_REMOTE_OBJECT_PROXY_BROKER_H #include /**/ "ace/pre.h" -#include "tao/corbafwd.h" #include "tao/Object_Proxy_Broker.h" -#include "tao/Remote_Object_Proxy_Impl.h" #if !defined (ACE_LACKS_PRAGMA_ONCE) # pragma once #endif /* ACE_LACKS_PRAGMA_ONCE */ -class TAO_Export TAO_Remote_Object_Proxy_Broker - : public TAO_Object_Proxy_Broker +namespace TAO { -public: - - virtual TAO_Object_Proxy_Impl &select_proxy (CORBA::Object_ptr object - ACE_ENV_ARG_DECL); - -private: - - TAO_Remote_Object_Proxy_Impl remote_proxy_impl_; - -}; + /** + * @class Remote_Object_Proxy_Broker + * + * @brief Remote_Object_Proxy_Broker + * + * A broker for standard CORBA::Object calls that needs to be made + * on remote objects. + */ + + class TAO_Export Remote_Object_Proxy_Broker : public Object_Proxy_Broker + { + public: + /// Please see the documentation in Object_Proxy_Broker.h for + /// details. + + virtual CORBA::Boolean _is_a (CORBA::Object_ptr target, + const char *logical_type_id + ACE_ENV_ARG_DECL); + +#if (TAO_HAS_MINIMUM_CORBA == 0) + + virtual CORBA::Boolean _non_existent (CORBA::Object_ptr target + ACE_ENV_ARG_DECL); + + virtual CORBA::InterfaceDef * _get_interface ( + CORBA::Object_ptr target + ACE_ENV_ARG_DECL + ); + + virtual CORBA::Object_ptr _get_component (CORBA::Object_ptr target + ACE_ENV_ARG_DECL); +#endif /* TAO_HAS_MINIMUM_CORBA == 0 */ + + }; +} // ----------------------------------------------------- -TAO_Remote_Object_Proxy_Broker *the_tao_remote_object_proxy_broker (void); - +TAO::Remote_Object_Proxy_Broker *the_tao_remote_object_proxy_broker (void); #include /**/ "ace/post.h" |