This class is used to read CORBA IDL data types.
orb
public ORB orb()
Return the Object Request Broker that has created this stream.
- the ORB. This must be overridden, as the default
method always returns null.
read_Context
public Context read_Context()
This should read the CORBA context, but following the 1.4 API
specification, it must not be implemented.
read_any
public abstract Any read_any()
Read a CORBA Any
.
read_boolean
public abstract boolean read_boolean()
Read a CORBA boolean
.
- a value, corresponding the value of the CORBA
boolean
.
read_boolean_array
public abstract void read_boolean_array(boolean[] value,
int offset,
int length)
Read a and array of CORBA boolean values.
read_char
public abstract char read_char()
Read a CORBA char
.
- a value, corresponding the value of the CORBA
char
.
read_char_array
public abstract void read_char_array(char[] value,
int offset,
int length)
Read a and array of CORBA characters.
read_double
public abstract double read_double()
Read a CORBA double
.
- a value, corresponding the value of the CORBA
double
.
read_double_array
public abstract void read_double_array(double[] value,
int offset,
int length)
Read a and array of CORBA doubles.
read_fixed
public BigDecimal read_fixed()
Read a CORBA fixed
. This method is not abstract,
but following the specifications it must not be implemented.
read_float
public abstract float read_float()
Read a CORBA float
.
- a value, corresponding the value of the CORBA
float
.
read_float_array
public abstract void read_float_array(float[] value,
int offset,
int length)
Read a and array of CORBA float.
read_long
public abstract int read_long()
Read a CORBA long
that is mapped into java int
.
- an integer, corresponding the CORBA
long
.
read_long_array
public abstract void read_long_array(int[] value,
int offset,
int length)
Read a and array of CORBA longs.
read_longlong
public abstract long read_longlong()
Read a CORBA long long
that is mapped into java
long
.
- a value, corresponding the CORBA
long long
read_longlong_array
public abstract void read_longlong_array(long[] value,
int offset,
int length)
Read an array of CORBA long long
read_octet
public abstract byte read_octet()
Read a CORBA octed
that is mapped into java byte
.
- a byte, corresponding the CORBA
octet
.
read_octet_array
public abstract void read_octet_array(byte[] value,
int offset,
int length)
Read a and array of CORBA octets that are mapped into java array of
bytes.
read_short
public abstract short read_short()
Read a CORBA short
.
- a value, corresponding the value of the CORBA
short
.
read_short_array
public abstract void read_short_array(short[] value,
int offset,
int length)
read_string
public abstract String read_string()
Read a CORBA string
that is mapped into java
String
.
- a value, corresponding the value of the CORBA
string
.
read_ulong
public abstract int read_ulong()
Read a CORBA unsigned long that is mapped into java int
.
- an integer, matching the CORBA unsigned
long
.
read_ulong_array
public abstract void read_ulong_array(int[] value,
int offset,
int length)
Read an array of CORBA unsigned long.
read_ulonglong
public abstract long read_ulonglong()
Read a and array of CORBA unsigned longs.
read_ulonglong_array
public abstract void read_ulonglong_array(long[] value,
int offset,
int length)
Read a and array of CORBA unsigned longs.
read_ushort
public abstract short read_ushort()
Read a CORBA unsigned short that is mapped into java short
.
- a value of the CORBA unsigned
short
.
read_ushort_array
public abstract void read_ushort_array(short[] value,
int offset,
int length)
Read a and array of CORBA unsigned shorts.
read_wchar
public abstract char read_wchar()
Read a CORBA wchar
that is mapped into java char
.
- a value, corresponding the value of the CORBA
wchar
.
read_wchar_array
public abstract void read_wchar_array(char[] value,
int offset,
int length)
read_wstring
public abstract String read_wstring()
Read a CORBA wstring
that is mapped into
java String
.
- a string, corresponding CORBA
wstring
.
InputStream.java --
Copyright (C) 2005 Free Software Foundation, Inc.
This file is part of GNU Classpath.
GNU Classpath is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
GNU Classpath is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public License
along with GNU Classpath; see the file COPYING. If not, write to the
Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301 USA.
Linking this library statically or dynamically with other modules is
making a combined work based on this library. Thus, the terms and
conditions of the GNU General Public License cover the whole
combination.
As a special exception, the copyright holders of this library give you
permission to link this library with independent modules to produce an
executable, regardless of the license terms of these independent
modules, and to copy and distribute the resulting executable under
terms of your choice, provided that you also meet, for each linked
independent module, the terms and conditions of the license of that
module. An independent module is a module which is not derived from
or based on this library. If you modify this library, you may extend
this exception to your version of the library, but you are not
obligated to do so. If you do not wish to do so, delete this
exception statement from your version.