Java Platform 1.2
Beta 4

Class org.omg.CORBA.portable.InputStream

java.lang.Object
  |
  +--java.io.InputStream
        |
        +--org.omg.CORBA.portable.InputStream

public abstract class InputStream
extends InputStream
InputStream is the Java API for reading IDL types from CDR marshal streams. These methods are used by the ORB to unmarshal IDL types as well as to extract IDL types out of Anys. The _array versions of the methods can be directly used to read sequences and arrays of IDL types.

Since:
JDK1.2

Constructor Summary
InputStream()
           
 
Method Summary
 void end_block()
          start_block and end_block methods are used to delimit a block of data to be sent as GIOP chunked data.
 int get_offset()
          get_offset returns the current offset in the internal buffer.
 Object read_AbstractObject(Class clz)
          read_AbstractObject unmarshals and returns either a value object or a remote object reference.
abstract  Any read_any()
           
abstract  void read_boolean_array(boolean[] value, int offset, int length)
           
abstract  boolean read_boolean()
           
abstract  void read_char_array(char[] value, int offset, int length)
           
abstract  char read_char()
           
abstract  void read_double_array(double[] value, int offset, int length)
           
abstract  double read_double()
           
 void read_fixednum_array(Number[] value, int offset, int length)
           
 Number read_fixednum()
           
abstract  void read_float_array(float[] value, int offset, int length)
           
abstract  float read_float()
           
abstract  void read_long_array(int[] value, int offset, int length)
           
abstract  int read_long()
           
abstract  void read_longlong_array(long[] value, int offset, int length)
           
abstract  long read_longlong()
           
abstract  Object read_Object()
           
 Object read_Object(Class clz)
          read_Object unmarshals an object and returns a CORBA Object which is an instance of the class passed as its argument.
abstract  void read_octet_array(byte[] value, int offset, int length)
           
abstract  byte read_octet()
           
abstract  Principal read_Principal()
           
abstract  void read_short_array(short[] value, int offset, int length)
           
abstract  short read_short()
           
abstract  String read_string()
           
abstract  TypeCode read_TypeCode()
           
abstract  void read_ulong_array(int[] value, int offset, int length)
           
abstract  int read_ulong()
           
abstract  void read_ulonglong_array(long[] value, int offset, int length)
           
abstract  long read_ulonglong()
           
abstract  void read_ushort_array(short[] value, int offset, int length)
           
abstract  short read_ushort()
           
 Serializable read_Value()
          read_Value unmarshals and returns a value object.
abstract  void read_wchar_array(char[] value, int offset, int length)
           
abstract  char read_wchar()
           
abstract  String read_wstring()
           
 int read()
           
 void start_block()
          start_block and end_block methods are used to delimit a block of data to be sent as GIOP chunked data.
 
Methods inherited from class java.io.InputStream
available , close , mark , markSupported , read , read , reset , skip
 
Methods inherited from class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
 

Constructor Detail

InputStream

public InputStream()
Method Detail

read_boolean

public abstract boolean read_boolean()

read_char

public abstract char read_char()

read_wchar

public abstract char read_wchar()

read_octet

public abstract byte read_octet()

read_short

public abstract short read_short()

read_ushort

public abstract short read_ushort()

read_long

public abstract int read_long()

read_ulong

public abstract int read_ulong()

read_longlong

public abstract long read_longlong()

read_ulonglong

public abstract long read_ulonglong()

read_float

public abstract float read_float()

read_double

public abstract double read_double()

read_string

public abstract String read_string()

read_wstring

public abstract String read_wstring()

read_boolean_array

public abstract void read_boolean_array(boolean[] value,
                                        int offset,
                                        int length)

read_char_array

public abstract void read_char_array(char[] value,
                                     int offset,
                                     int length)

read_wchar_array

public abstract void read_wchar_array(char[] value,
                                      int offset,
                                      int length)

read_octet_array

public abstract void read_octet_array(byte[] value,
                                      int offset,
                                      int length)

read_short_array

public abstract void read_short_array(short[] value,
                                      int offset,
                                      int length)

read_ushort_array

public abstract void read_ushort_array(short[] value,
                                       int offset,
                                       int length)

read_long_array

public abstract void read_long_array(int[] value,
                                     int offset,
                                     int length)

read_ulong_array

public abstract void read_ulong_array(int[] value,
                                      int offset,
                                      int length)

read_longlong_array

public abstract void read_longlong_array(long[] value,
                                         int offset,
                                         int length)

read_ulonglong_array

public abstract void read_ulonglong_array(long[] value,
                                          int offset,
                                          int length)

read_float_array

public abstract void read_float_array(float[] value,
                                      int offset,
                                      int length)

read_double_array

public abstract void read_double_array(double[] value,
                                       int offset,
                                       int length)

read_Object

public abstract Object read_Object()

read_TypeCode

public abstract TypeCode read_TypeCode()

read_any

public abstract Any read_any()

read_Principal

public abstract Principal read_Principal()

read

public int read()
         throws IOException
Overrides:
read in class InputStream

read_fixednum

public Number read_fixednum()

read_fixednum_array

public void read_fixednum_array(Number[] value,
                                int offset,
                                int length)

read_Object

public Object read_Object(Class clz)
read_Object unmarshals an object and returns a CORBA Object which is an instance of the class passed as its argument. This class is the stub class of the expected type.

read_Value

public Serializable read_Value()
read_Value unmarshals and returns a value object.

read_AbstractObject

public Object read_AbstractObject(Class clz)
read_AbstractObject unmarshals and returns either a value object or a remote object reference.

get_offset

public int get_offset()
get_offset returns the current offset in the internal buffer. This value can later be used to mark references to the same object.
Returns:
the offset in the internal buffer

start_block

public void start_block()
start_block and end_block methods are used to delimit a block of data to be sent as GIOP chunked data. The actual chunking should be handled within the OutputStream and it can arbitrarily divide the higher-level block into chunks as needed. start_block/end_block pairs may be arbitrarily nested.

end_block

public void end_block()
start_block and end_block methods are used to delimit a block of data to be sent as GIOP chunked data. The actual chunking should be handled within the OutputStream and it can arbitrarily divide the higher-level block into chunks as needed. start_block/end_block pairs may be arbitrarily nested.

Java Platform 1.2
Beta 4

Submit a bug or feature
Submit comments/suggestions about new javadoc look
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.
This documentation was generated with a post-Beta4 version of Javadoc.