org.jacorb.orb
Class DataInputStream

java.lang.Object
  extended by org.jacorb.orb.DataInputStream
All Implemented Interfaces:
java.io.Serializable, org.omg.CORBA.DataInputStream, org.omg.CORBA.portable.IDLEntity, org.omg.CORBA.portable.ValueBase

public class DataInputStream
extends java.lang.Object
implements org.omg.CORBA.DataInputStream

This class is the implementation of DataInputStream used for custom marshalling of value type. It simply delegates to InputStream all functions.

Version:
$Id$
Author:
Nick Cross
See Also:
Serialized Form

Constructor Summary
DataInputStream(org.omg.CORBA.portable.InputStream istream)
           
 
Method Summary
 java.lang.String[] _truncatable_ids()
          List of truncatable _ids
 java.lang.Object read_Abstract()
          Operation read_Abstract
 void read_any_array(org.omg.CORBA.AnySeqHolder seq, int offset, int length)
          Operation read_any_array
 org.omg.CORBA.Any read_any()
          Operation read_any
 void read_boolean_array(org.omg.CORBA.BooleanSeqHolder seq, int offset, int length)
          Operation read_boolean_array
 boolean read_boolean()
          Operation read_boolean
 void read_char_array(org.omg.CORBA.CharSeqHolder seq, int offset, int length)
          Operation read_char_array
 char read_char()
          Operation read_char
 void read_double_array(org.omg.CORBA.DoubleSeqHolder seq, int offset, int length)
          Operation read_double_array
 double read_double()
          Operation read_double
 void read_float_array(org.omg.CORBA.FloatSeqHolder seq, int offset, int length)
          Operation read_float_array
 float read_float()
          Operation read_float
 void read_long_array(org.omg.CORBA.LongSeqHolder seq, int offset, int length)
          Operation read_long_array
 int read_long()
          Operation read_long
 double read_longdouble()
          Operation read_longdouble.
 void read_longlong_array(org.omg.CORBA.LongLongSeqHolder seq, int offset, int length)
          Operation read_longlong_array
 long read_longlong()
          Operation read_longlong
 org.omg.CORBA.Object read_Object()
          Operation read_Object
 void read_octet_array(org.omg.CORBA.OctetSeqHolder seq, int offset, int length)
          Operation read_octet_array
 byte read_octet()
          Operation read_octet
 void read_short_array(org.omg.CORBA.ShortSeqHolder seq, int offset, int length)
          Operation read_short_array
 short read_short()
          Operation read_short
 java.lang.String read_string()
          Operation read_string
 org.omg.CORBA.TypeCode read_TypeCode()
          Operation read_TypeCode
 void read_ulong_array(org.omg.CORBA.ULongSeqHolder seq, int offset, int length)
          Operation read_ulong_array
 int read_ulong()
          Operation read_ulong
 void read_ulonglong_array(org.omg.CORBA.ULongLongSeqHolder seq, int offset, int length)
          Operation read_ulonglong_array
 long read_ulonglong()
          Operation read_ulonglong
 void read_ushort_array(org.omg.CORBA.UShortSeqHolder seq, int offset, int length)
          Operation read_ushort_array
 short read_ushort()
          Operation read_ushort
 java.io.Serializable read_Value()
          Operation read_value
 void read_wchar_array(org.omg.CORBA.WCharSeqHolder seq, int offset, int length)
          Operation read_wchar_array
 char read_wchar()
          Operation read_wchar
 java.lang.String read_wstring()
          Operation read_wstring
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataInputStream

public DataInputStream(org.omg.CORBA.portable.InputStream istream)
Method Detail

_truncatable_ids

public java.lang.String[] _truncatable_ids()
List of truncatable _ids

Specified by:
_truncatable_ids in interface org.omg.CORBA.portable.ValueBase

read_any

public org.omg.CORBA.Any read_any()
Operation read_any

Specified by:
read_any in interface org.omg.CORBA.DataInputStream

read_boolean

public boolean read_boolean()
Operation read_boolean

Specified by:
read_boolean in interface org.omg.CORBA.DataInputStream

read_char

public char read_char()
Operation read_char

Specified by:
read_char in interface org.omg.CORBA.DataInputStream

read_wchar

public char read_wchar()
Operation read_wchar

Specified by:
read_wchar in interface org.omg.CORBA.DataInputStream

read_octet

public byte read_octet()
Operation read_octet

Specified by:
read_octet in interface org.omg.CORBA.DataInputStream

read_short

public short read_short()
Operation read_short

Specified by:
read_short in interface org.omg.CORBA.DataInputStream

read_ushort

public short read_ushort()
Operation read_ushort

Specified by:
read_ushort in interface org.omg.CORBA.DataInputStream

read_long

public int read_long()
Operation read_long

Specified by:
read_long in interface org.omg.CORBA.DataInputStream

read_ulong

public int read_ulong()
Operation read_ulong

Specified by:
read_ulong in interface org.omg.CORBA.DataInputStream

read_longlong

public long read_longlong()
Operation read_longlong

Specified by:
read_longlong in interface org.omg.CORBA.DataInputStream

read_ulonglong

public long read_ulonglong()
Operation read_ulonglong

Specified by:
read_ulonglong in interface org.omg.CORBA.DataInputStream

read_float

public float read_float()
Operation read_float

Specified by:
read_float in interface org.omg.CORBA.DataInputStream

read_double

public double read_double()
Operation read_double

Specified by:
read_double in interface org.omg.CORBA.DataInputStream

read_longdouble

public double read_longdouble()
Operation read_longdouble. This is not implemented.


read_string

public java.lang.String read_string()
Operation read_string

Specified by:
read_string in interface org.omg.CORBA.DataInputStream

read_wstring

public java.lang.String read_wstring()
Operation read_wstring

Specified by:
read_wstring in interface org.omg.CORBA.DataInputStream

read_Object

public org.omg.CORBA.Object read_Object()
Operation read_Object

Specified by:
read_Object in interface org.omg.CORBA.DataInputStream

read_Abstract

public java.lang.Object read_Abstract()
Operation read_Abstract

Specified by:
read_Abstract in interface org.omg.CORBA.DataInputStream

read_Value

public java.io.Serializable read_Value()
Operation read_value

Specified by:
read_Value in interface org.omg.CORBA.DataInputStream

read_TypeCode

public org.omg.CORBA.TypeCode read_TypeCode()
Operation read_TypeCode

Specified by:
read_TypeCode in interface org.omg.CORBA.DataInputStream

read_any_array

public void read_any_array(org.omg.CORBA.AnySeqHolder seq,
                           int offset,
                           int length)
Operation read_any_array

Specified by:
read_any_array in interface org.omg.CORBA.DataInputStream

read_boolean_array

public void read_boolean_array(org.omg.CORBA.BooleanSeqHolder seq,
                               int offset,
                               int length)
Operation read_boolean_array

Specified by:
read_boolean_array in interface org.omg.CORBA.DataInputStream

read_char_array

public void read_char_array(org.omg.CORBA.CharSeqHolder seq,
                            int offset,
                            int length)
Operation read_char_array

Specified by:
read_char_array in interface org.omg.CORBA.DataInputStream

read_wchar_array

public void read_wchar_array(org.omg.CORBA.WCharSeqHolder seq,
                             int offset,
                             int length)
Operation read_wchar_array

Specified by:
read_wchar_array in interface org.omg.CORBA.DataInputStream

read_octet_array

public void read_octet_array(org.omg.CORBA.OctetSeqHolder seq,
                             int offset,
                             int length)
Operation read_octet_array

Specified by:
read_octet_array in interface org.omg.CORBA.DataInputStream

read_short_array

public void read_short_array(org.omg.CORBA.ShortSeqHolder seq,
                             int offset,
                             int length)
Operation read_short_array

Specified by:
read_short_array in interface org.omg.CORBA.DataInputStream

read_ushort_array

public void read_ushort_array(org.omg.CORBA.UShortSeqHolder seq,
                              int offset,
                              int length)
Operation read_ushort_array

Specified by:
read_ushort_array in interface org.omg.CORBA.DataInputStream

read_long_array

public void read_long_array(org.omg.CORBA.LongSeqHolder seq,
                            int offset,
                            int length)
Operation read_long_array

Specified by:
read_long_array in interface org.omg.CORBA.DataInputStream

read_ulong_array

public void read_ulong_array(org.omg.CORBA.ULongSeqHolder seq,
                             int offset,
                             int length)
Operation read_ulong_array

Specified by:
read_ulong_array in interface org.omg.CORBA.DataInputStream

read_longlong_array

public void read_longlong_array(org.omg.CORBA.LongLongSeqHolder seq,
                                int offset,
                                int length)
Operation read_longlong_array

Specified by:
read_longlong_array in interface org.omg.CORBA.DataInputStream

read_ulonglong_array

public void read_ulonglong_array(org.omg.CORBA.ULongLongSeqHolder seq,
                                 int offset,
                                 int length)
Operation read_ulonglong_array

Specified by:
read_ulonglong_array in interface org.omg.CORBA.DataInputStream

read_float_array

public void read_float_array(org.omg.CORBA.FloatSeqHolder seq,
                             int offset,
                             int length)
Operation read_float_array

Specified by:
read_float_array in interface org.omg.CORBA.DataInputStream

read_double_array

public void read_double_array(org.omg.CORBA.DoubleSeqHolder seq,
                              int offset,
                              int length)
Operation read_double_array

Specified by:
read_double_array in interface org.omg.CORBA.DataInputStream