1 7 package org.omg.CORBA; 8 9 10 19 20 abstract public class CurrentHelper 21 { 22 private static String _id = "IDL:omg.org/CORBA/Current:1.0"; 23 24 public static void insert (org.omg.CORBA.Any a, org.omg.CORBA.Current that) 25 { 26 throw new org.omg.CORBA.MARSHAL () ; 27 } 28 29 public static org.omg.CORBA.Current extract (org.omg.CORBA.Any a) 30 { 31 throw new org.omg.CORBA.MARSHAL () ; 32 } 33 34 private static org.omg.CORBA.TypeCode __typeCode = null; 35 synchronized public static org.omg.CORBA.TypeCode type () 36 { 37 if (__typeCode == null) 38 { 39 __typeCode = org.omg.CORBA.ORB.init ().create_interface_tc (org.omg.CORBA.CurrentHelper.id (), "Current"); 40 } 41 return __typeCode; 42 } 43 44 public static String id () 45 { 46 return _id; 47 } 48 49 public static org.omg.CORBA.Current read (org.omg.CORBA.portable.InputStream istream) 50 { 51 throw new org.omg.CORBA.MARSHAL () ; 52 } 53 54 public static void write (org.omg.CORBA.portable.OutputStream ostream, org.omg.CORBA.Current value) 55 { 56 throw new org.omg.CORBA.MARSHAL () ; 57 } 58 59 public static org.omg.CORBA.Current narrow (org.omg.CORBA.Object obj) 60 { 61 if (obj == null) 62 return null; 63 else if (obj instanceof org.omg.CORBA.Current ) 64 return (org.omg.CORBA.Current )obj; 65 else 66 throw new org.omg.CORBA.BAD_PARAM (); 67 } 68 69 } 70 | Popular Tags |