diff options
Diffstat (limited to 'TAO/tao/TransportCurrent/IIOP_Current_Impl.h')
-rw-r--r-- | TAO/tao/TransportCurrent/IIOP_Current_Impl.h | 109 |
1 files changed, 0 insertions, 109 deletions
diff --git a/TAO/tao/TransportCurrent/IIOP_Current_Impl.h b/TAO/tao/TransportCurrent/IIOP_Current_Impl.h deleted file mode 100644 index a39f527b50e..00000000000 --- a/TAO/tao/TransportCurrent/IIOP_Current_Impl.h +++ /dev/null @@ -1,109 +0,0 @@ -/** - * @file IIOP_Current_Impl.h - * - * @brief Provide implementation for the IIOPTraits interface - * - * $Id$ - * - * @author Iliyan Jeliazkov <iliyan@ociweb.com> - */ - -#ifndef IIOP_CURRENT_IMPL_H -#define IIOP_CURRENT_IMPL_H - -#include /**/ "ace/pre.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#include "tao/TransportCurrent/TC_IIOPC.h" -#include "tao/TransportCurrent/Current_Impl.h" - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -class TAO_Transport; -class TAO_IIOP_Connection_Handler; - -namespace TAO -{ - namespace Transport - { - - /** - * @class IIOP_Current_Impl - * - * @brief Implementation of the TAO::Transport::IIOPCurrent - * interface. - * - * IIOP_Current_Impl is useful for obtaining information about the - * IIOP Transport, associated with the calling thread. - */ - class TAO_Transport_Current_Export IIOP_Current_Impl - : public virtual IIOP::Current - , public virtual Current_Impl - { - public: - - /// Constructor. - IIOP_Current_Impl (TAO_ORB_Core* core, size_t tss_slot_id); - - //@{ - virtual ::CORBA::Long id (ACE_ENV_SINGLE_ARG_DECL) - ACE_THROW_SPEC ((::CORBA::SystemException, NoContext)); - - virtual ::SSLIOP::Current_ptr ssliop_current (ACE_ENV_SINGLE_ARG_DECL) - ACE_THROW_SPEC ((::CORBA::SystemException, NoContext)); - - virtual ::CORBA::Long remote_port (ACE_ENV_SINGLE_ARG_DECL) - ACE_THROW_SPEC ((::CORBA::SystemException, NoContext)); - - virtual char* remote_host (ACE_ENV_SINGLE_ARG_DECL) - ACE_THROW_SPEC ((::CORBA::SystemException, NoContext)); - - virtual ::CORBA::Long local_port (ACE_ENV_SINGLE_ARG_DECL) - ACE_THROW_SPEC ((::CORBA::SystemException, NoContext)); - - virtual char* local_host (ACE_ENV_SINGLE_ARG_DECL) - ACE_THROW_SPEC ((::CORBA::SystemException, NoContext)); - //@} - - - protected: - - /// Destructor - /** - * Protected destructor to enforce the fact this class is reference - * counted, and should not be destroyed using delete() by anything - * other than the reference counting mechanism. - */ - virtual ~IIOP_Current_Impl (void); - - private: - - /// Returns the IIOP connection handler associated with the - /// Transport. Will throw NO_IMPLEMENT if the (selected) transport - /// () == 0, or if transport->connection_handler () == 0. Will - /// throw NoContext, if no transport has been selected yet. - TAO_IIOP_Connection_Handler* handler (ACE_ENV_SINGLE_ARG_DECL) - ACE_THROW_SPEC ((::CORBA::SystemException, NoContext)); - - private: - - /// Prevent copying through the copy constructor and - /// assignment operator. - //@{ - IIOP_Current_Impl (const IIOP_Current_Impl &); - void operator= (const IIOP_Current_Impl &); - //@} - - }; - } - -} - -TAO_END_VERSIONED_NAMESPACE_DECL - -#include /**/ "ace/post.h" - -#endif /* IIOP_CURRENT_IMPL_H */ |