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

📄 test.idl

📁 这是广泛使用的通信开源项目,对于大容量,高并发的通讯要求完全能够胜任,他广泛可用于网络游戏医学图像网关的高qos要求.更详细的内容可阅读相应的材料
💻 IDL
字号:
// -*- C++ -*-
// test.idl,v 1.9 2003/08/05 22:35:04 parsons Exp

module help
{
  exception doh {};
  exception whups {};
};

module help
{
  interface c_supp1 {};
  interface c_supp2 {};
  component c_base {};
  valuetype v_base_base {};
  valuetype v_base : v_base_base {};
  interface v_supp1 {};
  abstract interface v_supp2 {};
  home h_base manages c_base {};
  valuetype h_key {};
  interface h_supp1 {};
  interface h_supp2 {};
};

module help
{
  interface c_provides1 {};
  interface c_uses1 {};
  interface c_uses2 {};
  eventtype c_emits1 {};
  eventtype c_publishes1 {};
  eventtype c_consumes1 {};
};

module mod
{
  component test_component 
    : help::c_base supports help::c_supp1, help::c_supp2
  {
    attribute long c_attr1 
      getraises (help::doh) 
      setraises (help::whups, help::doh);

    provides help::c_provides1 test_provides1;

    uses help::c_uses1 test_uses1;

    uses multiple help::c_uses2 test_uses2;

    emits help::c_emits1 test_emits1;

    publishes help::c_publishes1 test_publishes1;

    consumes help::c_consumes1 test_consumes1;
  };

  valuetype test_valuetype 
    : help::v_base supports help::v_supp1, help::v_supp2
  {
    attribute long c_attr1 
      getraises (help::doh) 
      setraises (help::whups, help::doh);

    string v_op (inout string inoutarg,
                 in help::v_supp1 inarg,
                 out long outarg)
      raises (help::doh, help::whups);

    public string test_mem1;
    private short test_mem2;

    factory default_factory (in string set_tm1);
    factory create_tv (in string set_tm1a,
                       in short set_tm2)
      raises (help::whups, help::doh);
  };

  home test_home : help::h_base supports help::h_supp1, help::h_supp2 
    manages test_component primarykey help::h_key 
  {
    factory create_tc (in string set_uid)
      raises (help::doh);

    finder find_tc (in long id_number,
                    in string id_string,
                    in help::h_key pkey)
      raises (help::whups);
  };

  eventtype test_eventtype 
    : help::v_base supports help::v_supp1, help::v_supp2
  {
    attribute long c_attr1 
      getraises (help::doh) 
      setraises (help::whups, help::doh);

    string v_op (inout string inoutarg,
                 in help::v_supp1 inarg,
                 out long outarg)
      raises (help::doh, help::whups);

    public string test_mem1;
    private short test_mem2;

    factory default_factory (in string set_tm1);
    factory create_tv (in string set_tm1a,
                       in short set_tm2)
      raises (help::whups, help::doh);
  };

};


⌨️ 快捷键说明

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