org.omg.CORBA.portable
Interface ValueFactory


public interface ValueFactory

An interface for reading an instance of the value type from the input stream.


Method Summary
 Serializable read_value(InputStream from_stream)
          Read the value type.
 

Method Detail

read_value

Serializable read_value(InputStream from_stream)
Read the value type. The method is responsible both for creating a new instance of the value type and reading the content of this nstance from the stream.

Parameters:
from_stream - a stream to read from.
Returns:
a created value type, intialised with the data from the stream.