ssliop_current.inl
来自「这是广泛使用的通信开源项目,对于大容量,高并发的通讯要求完全能够胜任,他广泛可用」· INL 代码 · 共 38 行
INL
38 行
// -*- C++ -*-
//
// SSLIOP_Current.inl,v 1.5 2001/09/22 04:41:27 othman Exp
ACE_INLINE void
TAO_SSLIOP_Current::tss_slot (size_t slot)
{
this->tss_slot_ = slot;
}
ACE_INLINE int
TAO_SSLIOP_Current::implementation (TAO_SSLIOP_Current_Impl *impl)
{
if (this->orb_core_ == 0)
return -1;
return this->orb_core_->set_tss_resource (this->tss_slot_, impl);
}
ACE_INLINE TAO_SSLIOP_Current_Impl *
TAO_SSLIOP_Current::implementation (void)
{
if (this->orb_core_ == 0)
return 0;
TAO_Security_Current_Impl *impl =
ACE_static_cast (TAO_Security_Current_Impl *,
this->orb_core_->get_tss_resource (this->tss_slot_));
// Make sure we've got SSL session state in TSS before allowing
// further use of the SSLIOP::Current object.
if (impl != 0 && impl->tag () == SSLIOP::TAG_SSL_SEC_TRANS)
return ACE_dynamic_cast (TAO_SSLIOP_Current_Impl *,
impl);
return 0;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?