org.omg.PortableInterceptor

Class ForwardRequestHelper

public abstract class ForwardRequestHelper extends Object

The helper operations for the exception {@link ForwardRequest}.
Method Summary
static ForwardRequestextract(Any any)
Extract the ForwardRequest from given Any.
static Stringid()
Get the ForwardRequest repository id.
static voidinsert(Any any, ForwardRequest that)
Insert the ForwardRequest into the given Any.
static ForwardRequestread(InputStream input)
Read the exception from the CDR intput stream.
static TypeCodetype()
Create the ForwardRequest typecode (structure, named "ForwardRequest").
static voidwrite(OutputStream output, ForwardRequest value)
Write the exception to the CDR output stream.

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: "IDL:omg.org/PortableInterceptor/ForwardRequest:1.0", 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.

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.