org.omg.PortableServer
Class ForwardRequestHelper

java.lang.Object
  extended by org.omg.PortableServer.ForwardRequestHelper

public abstract class ForwardRequestHelper
extends Object

The helper operations for the exception ForwardRequest.


Constructor Summary
ForwardRequestHelper()
           
 
Method Summary
static ForwardRequest extract(Any any)
          Extract the ForwardRequest from given Any.
static String id()
          Get the ForwardRequest repository id.
static void insert(Any any, ForwardRequest that)
          Insert the ForwardRequest into the given Any.
static ForwardRequest read(InputStream input)
          Read the exception from the CDR intput stream.
static TypeCode type()
          Create the ForwardRequest typecode (structure, named "ForwardRequest").
static void write(OutputStream output, ForwardRequest value)
          Write the exception to the CDR output stream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ForwardRequestHelper

public ForwardRequestHelper()
Method Detail

extract

public static ForwardRequest extract(Any any)
Extract the ForwardRequest from given Any. This method uses the ForwardRequestHolder.

Throws:
BAD_OPERATION - if the passed Any does not contain ForwardRequest.

id

public static String id()
Get the ForwardRequest repository id.

Returns:
"ForwardRequest", always.

insert

public static void insert(Any any,
                          ForwardRequest that)
Insert the ForwardRequest into the given Any. This method uses the ForwardRequestHolder.

Parameters:
any - the Any to insert into.
that - the ForwardRequest to insert.

read

public static ForwardRequest read(InputStream input)
Read the exception from the CDR intput stream.

Parameters:
input - a org.omg.CORBA.portable stream to read from.

type

public static TypeCode type()
Create the ForwardRequest typecode (structure, named "ForwardRequest"). The typecode states that the structure contains the following fields: forward_reference.


write

public static void write(OutputStream output,
                         ForwardRequest value)
Write the exception to the CDR output stream.

Parameters:
output - a org.omg.CORBA.portable stream stream to write into.
value - a value to write.