001: /***** Copyright (c) 1999-2000 Object Management Group. Unlimited rights to
002: duplicate and use this code are hereby granted provided that this
003: copyright notice is included.
004: *****/package org.omg.CORBA.portable;
005:
006: public abstract class InputStream extends java.io.InputStream {
007:
008: public int read() throws java.io.IOException {
009: throw new org.omg.CORBA.NO_IMPLEMENT();
010: }
011:
012: public org.omg.CORBA.ORB orb() {
013: throw new org.omg.CORBA.NO_IMPLEMENT();
014: }
015:
016: public abstract boolean read_boolean();
017:
018: public abstract char read_char();
019:
020: public abstract char read_wchar();
021:
022: public abstract byte read_octet();
023:
024: public abstract short read_short();
025:
026: public abstract short read_ushort();
027:
028: public abstract int read_long();
029:
030: public abstract int read_ulong();
031:
032: public abstract long read_longlong();
033:
034: public abstract long read_ulonglong();
035:
036: public abstract float read_float();
037:
038: public abstract double read_double();
039:
040: public abstract String read_string();
041:
042: public abstract String read_wstring();
043:
044: public abstract void read_boolean_array(boolean[] value,
045: int offset, int length);
046:
047: public abstract void read_char_array(char[] value, int offset,
048: int length);
049:
050: public abstract void read_wchar_array(char[] value, int offset,
051: int length);
052:
053: public abstract void read_octet_array(byte[] value, int offset,
054: int length);
055:
056: public abstract void read_short_array(short[] value, int offset,
057: int length);
058:
059: public abstract void read_ushort_array(short[] value, int offset,
060: int length);
061:
062: public abstract void read_long_array(int[] value, int offset,
063: int length);
064:
065: public abstract void read_ulong_array(int[] value, int offset,
066: int length);
067:
068: public abstract void read_longlong_array(long[] value, int offset,
069: int length);
070:
071: public abstract void read_ulonglong_array(long[] value, int offset,
072: int length);
073:
074: public abstract void read_float_array(float[] value, int offset,
075: int length);
076:
077: public abstract void read_double_array(double[] value, int offset,
078: int length);
079:
080: public abstract org.omg.CORBA.Object read_Object();
081:
082: public org.omg.CORBA.Object read_Object(java.lang.Class clz) {
083: throw new org.omg.CORBA.NO_IMPLEMENT();
084: }
085:
086: public abstract org.omg.CORBA.TypeCode read_TypeCode();
087:
088: public abstract org.omg.CORBA.Any read_any();
089:
090: public org.omg.CORBA.Context read_Context() {
091: throw new org.omg.CORBA.NO_IMPLEMENT();
092: }
093:
094: /**
095: * @deprecated Deprecated by CORBA 2.2
096: */
097: public org.omg.CORBA.Principal read_Principal() {
098: throw new org.omg.CORBA.NO_IMPLEMENT();
099: }
100:
101: /**
102: * @deprecated Deprecated by CORBA 2.4
103: */
104: public java.math.BigDecimal read_fixed() {
105: throw new org.omg.CORBA.NO_IMPLEMENT();
106: }
107:
108: public java.math.BigDecimal read_fixed(short digits, short scale) {
109: throw new org.omg.CORBA.NO_IMPLEMENT();
110: }
111:
112: }
|