コード例 #1
0
 public static org.omg.CORBA.INV_IDENT read(final org.omg.CORBA.portable.InputStream in) {
   String id = in.read_string();
   if (!id.equals(id())) throw new org.omg.CORBA.MARSHAL("wrong id: " + id);
   int x0;
   x0 = in.read_ulong();
   org.omg.CORBA.CompletionStatus x1;
   x1 = org.omg.CORBA.CompletionStatusHelper.read(in);
   final org.omg.CORBA.INV_IDENT result = new org.omg.CORBA.INV_IDENT(id, x0, x1);
   return result;
 }
コード例 #2
0
 public static org.omg.CORBA.TypeCode type() {
   if (_type == null) {
     _type =
         org.omg
             .CORBA
             .ORB
             .init()
             .create_exception_tc(
                 org.omg.CORBA.INV_IDENTHelper.id(),
                 "INV_IDENT",
                 new org.omg.CORBA.StructMember[] {
                   new org.omg.CORBA.StructMember(
                       "minor",
                       org.omg.CORBA.ORB.init().get_primitive_tc(org.omg.CORBA.TCKind.from_int(5)),
                       null),
                   new org.omg.CORBA.StructMember(
                       "completed", org.omg.CORBA.CompletionStatusHelper.type(), null)
                 });
   }
   return _type;
 }
コード例 #3
0
 public static void write(
     final org.omg.CORBA.portable.OutputStream out, final org.omg.CORBA.INV_IDENT s) {
   out.write_string(id());
   out.write_ulong(s.minor);
   org.omg.CORBA.CompletionStatusHelper.write(out, s.completed);
 }