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

📄 gateway_ec.h

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

#ifndef GATEWAY_EC_H
#define GATEWAY_EC_H

#include "EC_Wrapper.h"
#include "ECMcastTests_export.h"

#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */

/**
 * @class Gateway_EC
 *
 * @brief Runs multicast federated Event Channel server.
 *
 * Runs Event Channel and  mcast receiver and/or sender (as specified
 * in service config file).
 */
class ECMcastTests_Export Gateway_EC
{
public:

  /// Constructor.
  Gateway_EC (void);

  /// Run the server.
  /// Valid arguments: [-i ior_filename].
  int run (int argc, char ** argv);

private:

  /// Helpers.
  //@{
  int parse_args (int argc, char *argv[]);
  int check_for_nil (CORBA::Object_ptr obj, const char *message);
  void write_ior_file (CORBA::ORB_ptr orb,
                       RtecEventChannelAdmin::EventChannel_ptr ec
                       ACE_ENV_ARG_DECL);
  //@}

  /// Event Channel ior is written to this file.
  /// Default is "gateway-ec.ior", which can be overridden with the "-i"
  /// argument option.
  const char * ec_ior_file_;
};

#endif /* GATEWAY_EC_H */

⌨️ 快捷键说明

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