diff options
Diffstat (limited to 'TAO/tao/MessagingC.h')
-rw-r--r-- | TAO/tao/MessagingC.h | 97 |
1 files changed, 50 insertions, 47 deletions
diff --git a/TAO/tao/MessagingC.h b/TAO/tao/MessagingC.h index d04e5356103..1033c29fe6b 100644 --- a/TAO/tao/MessagingC.h +++ b/TAO/tao/MessagingC.h @@ -2521,7 +2521,7 @@ class _TAO_ReplyHandler_Proxy_Impl; class _TAO_ReplyHandler_Remote_Proxy_Impl; class _TAO_ReplyHandler_Proxy_Broker; class _TAO_ReplyHandler_Remote_Proxy_Broker; - + class TAO_Export ReplyHandler : public virtual CORBA_Object { public: @@ -2560,19 +2560,19 @@ class TAO_Export ReplyHandler : public virtual CORBA_Object private: _TAO_ReplyHandler_Proxy_Broker *the_TAO_ReplyHandler_Proxy_Broker_; - + protected: ReplyHandler (int collocated = 0); - + protected: virtual void setup_collocation (int collocated); ReplyHandler ( - TAO_Stub *objref, - CORBA::Boolean _tao_collocated = 0, - TAO_Abstract_ServantBase *servant = 0 - ); - + TAO_Stub *objref, + CORBA::Boolean _tao_collocated = 0, + TAO_Abstract_ServantBase *servant = 0 + ); + friend class _TAO_ReplyHandler_Remote_Proxy_Impl; friend class _TAO_ReplyHandler_ThruPOA_Proxy_Impl; friend class _TAO_ReplyHandler_Direct_Proxy_Impl; @@ -2588,88 +2588,91 @@ class TAO_Export ReplyHandler : public virtual CORBA_Object // perform a call. Each different implementation encapsulate // an invocation logics. - + /////////////////////////////////////////////////////////////////////// // Base Impl. Declaration // - + class TAO_Export _TAO_ReplyHandler_Proxy_Impl : public virtual TAO_Object_Proxy_Impl { public: virtual ~_TAO_ReplyHandler_Proxy_Impl (void); - + }; - + // // Base Proxy Impl. Declaration /////////////////////////////////////////////////////////////////////// - - + + /////////////////////////////////////////////////////////////////////// // Remote Impl. Declaration // - - class TAO_Export _TAO_ReplyHandler_Remote_Proxy_Impl : + + class TAO_Export _TAO_ReplyHandler_Remote_Proxy_Impl : public virtual _TAO_ReplyHandler_Proxy_Impl, public virtual TAO_Remote_Object_Proxy_Impl { public: virtual ~_TAO_ReplyHandler_Remote_Proxy_Impl (void); - + }; - + // // Base Proxy Impl. Declaration /////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////// - // Base Proxy Broker Declaration + // Base Proxy Broker Declaration // - + class TAO_Export _TAO_ReplyHandler_Proxy_Broker { public: virtual ~_TAO_ReplyHandler_Proxy_Broker (void); virtual _TAO_ReplyHandler_Proxy_Impl &select_proxy ( - ReplyHandler *object, - CORBA_Environment &ACE_TRY_ENV = TAO_default_environment () - ) = 0; - + ReplyHandler *object, + CORBA_Environment &ACE_TRY_ENV = TAO_default_environment () + ) = 0; + }; - - + + // - // End Base Proxy Broker Declaration + // End Base Proxy Broker Declaration /////////////////////////////////////////////////////////////////////// - - + + /////////////////////////////////////////////////////////////////////// - // Remote Proxy Broker Declaration + // Remote Proxy Broker Declaration // - + class TAO_Export _TAO_ReplyHandler_Remote_Proxy_Broker : public virtual _TAO_ReplyHandler_Proxy_Broker { - public: + public: virtual ~_TAO_ReplyHandler_Remote_Proxy_Broker (void); virtual _TAO_ReplyHandler_Proxy_Impl &select_proxy ( - ReplyHandler *object, - CORBA_Environment &ACE_TRY_ENV = TAO_default_environment () - ); - + ReplyHandler *object, + CORBA_Environment &ACE_TRY_ENV = TAO_default_environment () + ); + private: _TAO_ReplyHandler_Remote_Proxy_Impl remote_proxy_impl_; - }; - - // This funxtion is used to get an handle to the unique instance - // of the Remote Proxy Broker that is available for a given - // interface. - - _TAO_ReplyHandler_Remote_Proxy_Broker *the_TAO_ReplyHandler_Remote_Proxy_Broker (void); - + + public: + // This member function is used to get an handle to the unique instance + // of the Remote Proxy Broker that is available for a given + // interface. + + static _TAO_ReplyHandler_Remote_Proxy_Broker *the_TAO_ReplyHandler_Remote_Proxy_Broker (void); + +}; + + // - // End Remote Proxy Broker Declaration + // End Remote Proxy Broker Declaration /////////////////////////////////////////////////////////////////////// #if (TAO_HAS_SMART_PROXIES == 1) @@ -2856,8 +2859,8 @@ TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, const Messaging::Poli #if (TAO_HAS_AMI_CALLBACK == 1) extern TAO_Export Messaging::_TAO_ReplyHandler_Proxy_Broker * (*Messaging__TAO_ReplyHandler_Proxy_Broker_Factory_function_pointer) ( - CORBA::Object_ptr obj - ); + CORBA::Object_ptr obj + ); extern TAO_Export Messaging::ReplyHandler_ptr (*_TAO_collocation_Messaging_ReplyHandler_Stub_Factory_function_pointer) ( CORBA::Object_ptr obj |