org.omg.CosTransactions
Class ControlHelper

java.lang.Object
  |
  +--org.omg.CosTransactions.ControlHelper

public class ControlHelper
extends java.lang.Object

Helper class for : Control

Author:
OpenORB Compiler

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

Constructor Detail

ControlHelper

public ControlHelper()
Method Detail

insert

public static void insert(org.omg.CORBA.Any a,
                          Control t)
Insert Control into an any
Parameters:
a - an any
t - Control value

extract

public static Control extract(org.omg.CORBA.Any a)
Extract Control from an any
Parameters:
a - an any
Returns:
the extracted Control value

type

public static org.omg.CORBA.TypeCode type()
Return the Control TypeCode
Returns:
a TypeCode

id

public static java.lang.String id()
Return the Control IDL ID
Returns:
an ID

read

public static Control read(org.omg.CORBA.portable.InputStream istream)
Read Control from a marshalled stream
Parameters:
istream - the input stream
Returns:
the readed Control value

write

public static void write(org.omg.CORBA.portable.OutputStream ostream,
                         Control value)
Write Control into a marshalled stream
Parameters:
ostream - the output stream
value - Control value

narrow

public static Control narrow(org.omg.CORBA.Object obj)
Narrow CORBA::Object to Control
Parameters:
obj - the CORBA Object
Returns:
Control Object

unchecked_narrow

public static Control unchecked_narrow(org.omg.CORBA.Object obj)
Unchecked Narrow CORBA::Object to Control
Parameters:
obj - the CORBA Object
Returns:
Control Object