org.omg.CosTrading
Class ProxyHelper

java.lang.Object
  extended by org.omg.CosTrading.ProxyHelper

public class ProxyHelper
extends java.lang.Object

Helper class for : Proxy

Author:
OpenORB Compiler

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

Constructor Detail

ProxyHelper

public ProxyHelper()
Method Detail

insert

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

Parameters:
a - an any
t - Proxy value

extract

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

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

type

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

Returns:
a TypeCode

id

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

Returns:
an ID

read

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

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

write

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

Parameters:
ostream - the output stream
value - Proxy value

narrow

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

Parameters:
obj - the CORBA Object
Returns:
Proxy Object

unchecked_narrow

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

Parameters:
obj - the CORBA Object
Returns:
Proxy Object