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

📄 xuankehelper.java

📁 本系统是基于CORBA实现的选课系统,具有一般选课系统的基本功能(查看学生基本信息,选课退课,查看成绩等),本系统主要是推荐给对刚进行CORBA学习的初学者来说有很大的重要性
💻 JAVA
字号:
package choose;


/**
* choose/xuankeHelper.java .
* Generated by the IDL-to-Java compiler (portable), version "3.1"
* from choose.idl
* 2006年12月17日 星期日 下午04时47分39秒 CST
*/

abstract public class xuankeHelper
{
  private static String  _id = "IDL:choose/xuanke:1.0";

  public static void insert (org.omg.CORBA.Any a, choose.xuanke that)
  {
    org.omg.CORBA.portable.OutputStream out = a.create_output_stream ();
    a.type (type ());
    write (out, that);
    a.read_value (out.create_input_stream (), type ());
  }

  public static choose.xuanke extract (org.omg.CORBA.Any a)
  {
    return read (a.create_input_stream ());
  }

  private static org.omg.CORBA.TypeCode __typeCode = null;
  synchronized public static org.omg.CORBA.TypeCode type ()
  {
    if (__typeCode == null)
    {
      __typeCode = org.omg.CORBA.ORB.init ().create_interface_tc (choose.xuankeHelper.id (), "xuanke");
    }
    return __typeCode;
  }

  public static String id ()
  {
    return _id;
  }

  public static choose.xuanke read (org.omg.CORBA.portable.InputStream istream)
  {
    return narrow (istream.read_Object (_xuankeStub.class));
  }

  public static void write (org.omg.CORBA.portable.OutputStream ostream, choose.xuanke value)
  {
    ostream.write_Object ((org.omg.CORBA.Object) value);
  }

  public static choose.xuanke narrow (org.omg.CORBA.Object obj)
  {
    if (obj == null)
      return null;
    else if (obj instanceof choose.xuanke)
      return (choose.xuanke)obj;
    else if (!obj._is_a (id ()))
      throw new org.omg.CORBA.BAD_PARAM ();
    else
    {
      org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl)obj)._get_delegate ();
      choose._xuankeStub stub = new choose._xuankeStub ();
      stub._set_delegate(delegate);
      return stub;
    }
  }

}

⌨️ 快捷键说明

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