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

📄 options.i

📁 这是广泛使用的通信开源项目,对于大容量,高并发的通讯要求完全能够胜任,他广泛可用于网络游戏医学图像网关的高qos要求.更详细的内容可阅读相应的材料
💻 I
字号:
/* -*- C++ -*- */
// Options.i,v 4.3 2000/09/22 19:30:37 brunsch Exp

// Option manager for ustreams.

// Since this is only included in Options.h these should stay
// inline, not ACE_INLINE.
// FUZZ: disable check_for_inline


inline void   
Options::supplier_port (const char *port)
{
  this->supplier_port_ = port;
}

inline const char *
Options::supplier_port (void)
{
  return this->supplier_port_;
}

inline void   
Options::supplier_file (const char *file)
{
  this->supplier_file_ = file;
}

inline const char *
Options::supplier_file (void)
{
  return this->supplier_file_;
}

inline void   
Options::consumer_file (const char *file)
{
  this->consumer_file_ = file;
}

inline const char *
Options::consumer_file (void)
{
  return this->consumer_file_;
}

inline void   
Options::consumer_port (const char *port)
{
  this->consumer_port_ = port;
}

inline const char *
Options::consumer_port (void)
{
  return this->consumer_port_;
}

inline void
Options::start_timer (void)
{
  this->itimer_.start ();
}

inline void
Options::stop_timer (void)
{
  this->itimer_.stop ();
}

inline void
Options::thr_count (size_t count)
{
  this->thr_count_ = count;
}

inline size_t
Options::thr_count (void)
{
  return this->thr_count_;
}

inline void 
Options::initial_queue_length (size_t length)
{
  this->initial_queue_length_ = length;
}

inline size_t  
Options::initial_queue_length (void)
{
  return this->initial_queue_length_;
}

inline void 
Options::high_water_mark (size_t size)
{
  this->high_water_mark_ = size;
}

inline size_t  
Options::high_water_mark (void)
{
  return this->high_water_mark_;
}

inline void 
Options::low_water_mark (size_t size)
{
  this->low_water_mark_ = size;
}

inline size_t  
Options::low_water_mark (void)
{
  return this->low_water_mark_;
}

inline void 
Options::message_size (size_t size)
{
  this->message_size_ = size;
}

inline size_t  
Options::message_size (void)
{
  return this->message_size_;
}

inline void 
Options::iterations (size_t n)
{
  this->iterations_ = n;
}

inline size_t
Options::iterations (void)
{
  return this->iterations_;
}

inline void 
Options::t_flags (long flag)
{
  this->t_flags_ |= flag;
}

inline long
Options::t_flags (void)
{
  return this->t_flags_;
}

inline int 
Options::debug (void)
{
  return this->debugging_;
}

inline int 
Options::verbose (void)
{
  return this->verbosity_;
}

⌨️ 快捷键说明

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