FileDocCategorySizeDatePackage
CompletionStatusHelper.javaAPI DocJava SE 5 API1856Fri Aug 26 14:58:28 BST 2005org.omg.CORBA

CompletionStatusHelper

public abstract class CompletionStatusHelper extends Object
The Helper for CompletionStatus. For more information on Helper files, see "Generated Files: Helper Files".

org/omg/CORBA/CompletionStatusHelper.java Generated by the IDL-to-Java compiler (portable), version "3.0" 03 June 1999 11:52:03 o'clock GMT+00:00

Fields Summary
private static String
_id
private static TypeCode
__typeCode
Constructors Summary
Methods Summary
public static org.omg.CORBA.CompletionStatusextract(org.omg.CORBA.Any a)

    return read (a.create_input_stream ());
  
public static java.lang.Stringid()

    return _id;
  
public static voidinsert(org.omg.CORBA.Any a, org.omg.CORBA.CompletionStatus 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 org.omg.CORBA.CompletionStatusread(org.omg.CORBA.portable.InputStream istream)

    return org.omg.CORBA.CompletionStatus.from_int (istream.read_long ());
  
public static synchronized org.omg.CORBA.TypeCodetype()

       
  
    if (__typeCode == null)
    {
      __typeCode = org.omg.CORBA.ORB.init ().create_enum_tc (org.omg.CORBA.CompletionStatusHelper.id (), "CompletionStatus", new String[] { "COMPLETED_YES", "COMPLETED_NO", "COMPLETED_MAYBE"} );
    }
    return __typeCode;
  
public static voidwrite(org.omg.CORBA.portable.OutputStream ostream, org.omg.CORBA.CompletionStatus value)

    ostream.write_long (value.value ());