org.openorb.ins.callback
Class CallbackHelper

java.lang.Object
  extended by org.openorb.ins.callback.CallbackHelper

public class CallbackHelper
extends java.lang.Object

Helper class for : Callback

Author:
OpenORB Compiler

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

Constructor Detail

CallbackHelper

public CallbackHelper()
Method Detail

insert

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

Parameters:
a - an any
t - Callback value

extract

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

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

type

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

Returns:
a TypeCode

id

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

Returns:
an ID

read

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

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

write

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

Parameters:
ostream - the output stream
value - Callback value

narrow

public static Callback narrow(org.omg.CORBA.Object obj)
Narrow CORBA::Object to Callback

Parameters:
obj - the CORBA Object
Returns:
Callback Object

unchecked_narrow

public static Callback unchecked_narrow(org.omg.CORBA.Object obj)
Unchecked Narrow CORBA::Object to Callback

Parameters:
obj - the CORBA Object
Returns:
Callback Object