⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ssliop_endpoint.i

📁 这是广泛使用的通信开源项目,对于大容量,高并发的通讯要求完全能够胜任,他广泛可用于网络游戏医学图像网关的高qos要求.更详细的内容可阅读相应的材料
💻 I
字号:
// -*- C++ -*-
//
// SSLIOP_Endpoint.i,v 1.12 2003/06/07 14:03:55 bala Exp


ACE_INLINE TAO_IIOP_Endpoint *
TAO_SSLIOP_Endpoint::iiop_endpoint (void) const
{
  return this->iiop_endpoint_;
}

ACE_INLINE void
TAO_SSLIOP_Endpoint::iiop_endpoint (TAO_IIOP_Endpoint *iiop_endpoint,
                                    int destroy)
{
  if (iiop_endpoint != 0)
    {
      TAO_IIOP_Endpoint *new_endpoint = 0;

      if (destroy)
        {
          TAO_Endpoint *endpoint = iiop_endpoint->duplicate ();

          new_endpoint = ACE_dynamic_cast (TAO_IIOP_Endpoint *,
                                           endpoint);

        }
      else
        new_endpoint = iiop_endpoint;

      if (this->destroy_iiop_endpoint_)
        delete this->iiop_endpoint_;

      this->iiop_endpoint_ = new_endpoint;
      this->destroy_iiop_endpoint_ = destroy;
    }
}

ACE_INLINE const SSLIOP::SSL &
TAO_SSLIOP_Endpoint::ssl_component (void) const
{
  return this->ssl_component_;
}



ACE_INLINE void
TAO_SSLIOP_Endpoint::qop (Security::QOP q)
{
  this->qop_ = q;
}

ACE_INLINE Security::QOP
TAO_SSLIOP_Endpoint::qop (void) const
{
  return this->qop_;
}

ACE_INLINE void
TAO_SSLIOP_Endpoint::trust (const Security::EstablishTrust &t)
{
  this->trust_ = t;
}

ACE_INLINE Security::EstablishTrust
TAO_SSLIOP_Endpoint::trust (void) const
{
  return this->trust_;
}

ACE_INLINE void
TAO_SSLIOP_Endpoint::credentials (const TAO_SSLIOP_Credentials_ptr creds)
{
  this->credentials_ = TAO_SSLIOP_Credentials::_duplicate (creds);
}

ACE_INLINE TAO_SSLIOP_Credentials *
TAO_SSLIOP_Endpoint::credentials (void) const
{
  return this->credentials_.in ();
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -