org.omg.GSSUP
Class ErrorCodeHelper

java.lang.Object
  extended by org.omg.GSSUP.ErrorCodeHelper

public class ErrorCodeHelper
extends java.lang.Object

Helper class for : ErrorCode

Author:
OpenORB Compiler

Constructor Summary
ErrorCodeHelper()
           
 
Method Summary
static int extract(org.omg.CORBA.Any a)
          Extract ErrorCode from an any
static java.lang.String id()
          Return the ErrorCode IDL ID
static void insert(org.omg.CORBA.Any a, int t)
          Insert ErrorCode into an any
static int read(org.omg.CORBA.portable.InputStream istream)
          Read ErrorCode from a marshalled stream
static org.omg.CORBA.TypeCode type()
          Return the ErrorCode TypeCode
static void write(org.omg.CORBA.portable.OutputStream ostream, int value)
          Write ErrorCode into a marshalled stream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ErrorCodeHelper

public ErrorCodeHelper()
Method Detail

insert

public static void insert(org.omg.CORBA.Any a,
                          int t)
Insert ErrorCode into an any

Parameters:
a - an any
t - ErrorCode value

extract

public static int extract(org.omg.CORBA.Any a)
Extract ErrorCode from an any

Parameters:
a - an any
Returns:
the extracted ErrorCode value

type

public static org.omg.CORBA.TypeCode type()
Return the ErrorCode TypeCode

Returns:
a TypeCode

id

public static java.lang.String id()
Return the ErrorCode IDL ID

Returns:
an ID

read

public static int read(org.omg.CORBA.portable.InputStream istream)
Read ErrorCode from a marshalled stream

Parameters:
istream - the input stream
Returns:
the readed ErrorCode value

write

public static void write(org.omg.CORBA.portable.OutputStream ostream,
                         int value)
Write ErrorCode into a marshalled stream

Parameters:
ostream - the output stream
value - ErrorCode value