org.omg.CORBA.portable

Interface BoxedValueHelper

public interface BoxedValueHelper

Provides a helper operations for the boxed value type. A boxed value type is a value type with no inheritance, no methods and with a single state member. No additional properties can be defined. It is an error to box value types. The value type may have its own helper, implementing this interface.
Method Summary
Stringget_id()
Get the repository id of this value type.
Serializableread_value(InputStream istream)
Read this value type from the CDR stream.
voidwrite_value(OutputStream ostream, Serializable value)
Write this value type to the CDR stream.

Method Detail

get_id

public String get_id()
Get the repository id of this value type.

Returns: a repository id.

read_value

public Serializable read_value(InputStream istream)
Read this value type from the CDR stream.

Parameters: istream is a stream to read from.

Returns: a loaded value type.

write_value

public void write_value(OutputStream ostream, Serializable value)
Write this value type to the CDR stream.

Parameters: ostream a stream to write to. value a value to write.