org.omg.CORBA
public abstract class CurrentHelper extends Object
Method Summary | |
---|---|
static Current | extract(Any any)
Extract the Current from given Any.
|
static String | id()
Get the Current repository id.
|
static void | insert(Any any, Current that)
Insert the Current into the given Any.
|
static Current | narrow(Object obj)
Cast the passed object into the Current. |
static Current | read(InputStream input)
Read the Current from the CDR intput stream (IOR profile expected).
|
static TypeCode | type()
Get the type code of the {@link Current}. |
static void | write(OutputStream output, Current value)
Write the Current to the CDR output stream (as IOR profile).
|
Throws: BAD_OPERATION if the passed Any does not contain Current.
Returns: "IDL:omg.org/CORBA/Current:1.0", always.
Parameters: any the Any to insert into. that the Current to insert.
Parameters: obj the object to narrow.
Returns: narrowed instance.
Throws: BAD_PARAM if the passed object is not a Current.
Parameters: input a org.omg.CORBA.portable stream to read from.
Parameters: output a org.omg.CORBA.portable stream stream to write into. value a value to write.