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

📄 ec_mcast.i

📁 这是广泛使用的通信开源项目,对于大容量,高并发的通讯要求完全能够胜任,他广泛可用于网络游戏医学图像网关的高qos要求.更详细的内容可阅读相应的材料
💻 I
字号:
//
// EC_Mcast.i,v 1.4 2003/06/18 05:45:59 jwillemsen Exp
//

ACE_INLINE int
ECM_Federation::sender_local_addr (ACE_INET_Addr& addr)
{
  return this->sender_->get_local_addr (addr);
}


ACE_INLINE const char*
ECM_Federation::name (void) const
{
  return this->name_;
}

ACE_INLINE CORBA::UShort
ECM_Federation::mcast_port (void) const
{
  return this->mcast_port_;
}

ACE_INLINE int
ECM_Federation::supplier_types (void) const
{
  return this->supplier_types_;
}

ACE_INLINE const char*
ECM_Federation::supplier_name (CORBA::ULong i) const
{
  if (i < ACE_static_cast (ACE_CAST_CONST CORBA::ULong, this->supplier_types_))
    return this->supplier_names_[i];
  return 0;
}

ACE_INLINE CORBA::ULong
ECM_Federation::supplier_ipaddr (CORBA::ULong i) const
{
  if (i < ACE_static_cast (ACE_CAST_CONST CORBA::ULong, this->supplier_types_))
    return this->supplier_ipaddr_[i];
  return 0;
}

ACE_INLINE int
ECM_Federation::consumer_types (void) const
{
  return this->consumer_types_;
}

ACE_INLINE const char*
ECM_Federation::consumer_name (CORBA::ULong i) const
{
  if (i < ACE_static_cast (ACE_CAST_CONST CORBA::ULong, this->consumer_types_))
    return this->consumer_names_[i];
  return 0;
}

ACE_INLINE CORBA::ULong
ECM_Federation::consumer_ipaddr (CORBA::ULong i) const
{
  if (i < ACE_static_cast (ACE_CAST_CONST CORBA::ULong, this->consumer_types_))
    return this->consumer_ipaddr_[i];
  return 0;
}

ACE_INLINE const ECM_Federation*
ECM_Local_Federation::federation (void) const
{
  return this->federation_;
}

ACE_INLINE const char*
ECM_Local_Federation::name (void) const
{
  return this->federation_->name ();
}

ACE_INLINE CORBA::UShort
ECM_Local_Federation::mcast_port (void) const
{
  return this->federation_->mcast_port ();
}

ACE_INLINE int
ECM_Local_Federation::supplier_types (void) const
{
  return this->federation_->supplier_types ();
}

ACE_INLINE const char*
ECM_Local_Federation::supplier_name (CORBA::ULong i) const
{
  return this->federation_->supplier_name (i);
}

ACE_INLINE CORBA::ULong
ECM_Local_Federation::supplier_ipaddr (CORBA::ULong i) const
{
  return this->federation_->supplier_ipaddr (i);
}

ACE_INLINE int
ECM_Local_Federation::consumer_types (void) const
{
  return this->federation_->consumer_types ();
}

ACE_INLINE const char*
ECM_Local_Federation::consumer_name (CORBA::ULong i) const
{
  return this->federation_->consumer_name (i);
}

ACE_INLINE CORBA::ULong
ECM_Local_Federation::consumer_ipaddr (CORBA::ULong i) const
{
  return this->federation_->consumer_ipaddr (i);
}

⌨️ 快捷键说明

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