qos_udp.i

来自「这是广泛使用的通信开源项目,对于大容量,高并发的通讯要求完全能够胜任,他广泛可用」· I 代码 · 共 77 行

I
77
字号
/* -*- C++ -*- */

// QoS_UDP.i,v 1.4 2001/08/04 17:44:10 yamuna Exp

//----------------------------------------------------------------------
// TAO_AV_UDP_Flow_Handler
//----------------------------------------------------------------------
ACE_INLINE
ACE_SOCK_Dgram_Mcast_QoS *
TAO_AV_UDP_QoS_Flow_Handler::get_socket (void)
{
  return &this->qos_sock_dgram_;
}

ACE_INLINE
int
TAO_AV_UDP_QoS_Flow_Handler::open (ACE_Addr &address)
{
  //    return this->qos_sock_dgram_.open (address);
  ACE_UNUSED_ARG( address );
  return 0;
}

ACE_INLINE ACE_QoS_Session*
TAO_AV_UDP_QoS_Flow_Handler::qos_session (void)
{       
  return this->qos_session_;
}

ACE_INLINE void
TAO_AV_UDP_QoS_Flow_Handler::qos_session (ACE_QoS_Session *qos_session)
{
  this->qos_session_ = qos_session;
}

ACE_INLINE void
TAO_AV_UDP_QoS_Flow_Handler::negotiator (AVStreams::Negotiator_ptr negotiator)
{
  this->negotiator_ = AVStreams::Negotiator::_duplicate (negotiator);
}

ACE_INLINE void
TAO_AV_UDP_QoS_Flow_Handler::endpoint (TAO_Base_StreamEndPoint *endpoint)
{
  this->endpoint_ = endpoint;
}

ACE_INLINE TAO_Base_StreamEndPoint *
TAO_AV_UDP_QoS_Flow_Handler::endpoint (void)
{
  return this->endpoint_;
}

ACE_INLINE void
TAO_AV_UDP_QoS_Flow_Handler::flowspec_entry (TAO_FlowSpec_Entry *entry)
{
  this->entry_ = entry;
}

ACE_INLINE TAO_FlowSpec_Entry *
TAO_AV_UDP_QoS_Flow_Handler::flowspec_entry (void)
{
  return this->entry_;
}

ACE_INLINE void
TAO_AV_UDP_QoS_Flow_Handler::av_core (TAO_AV_Core *avcore)
{
  this->av_core_ = avcore;
}

ACE_INLINE TAO_AV_Core *
TAO_AV_UDP_QoS_Flow_Handler::av_core (void)
{
  return this->av_core_;
}

⌨️ 快捷键说明

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