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    *****/
005    
006    package org.omg.CORBA.portable;
007    
008    public abstract class InputStream extends java.io.InputStream {
009    
010        public int read() throws java.io.IOException {
011            throw new org.omg.CORBA.NO_IMPLEMENT();
012        }
013    
014        public org.omg.CORBA.ORB orb() {
015            throw new org.omg.CORBA.NO_IMPLEMENT();
016        }
017    
018        public abstract boolean        read_boolean();
019        public abstract char           read_char();
020        public abstract char           read_wchar();
021        public abstract byte           read_octet();
022        public abstract short          read_short();
023        public abstract short          read_ushort();
024        public abstract int            read_long();
025        public abstract int            read_ulong();
026        public abstract long           read_longlong();
027        public abstract long           read_ulonglong();
028        public abstract float          read_float();
029        public abstract double         read_double();
030        public abstract String         read_string();
031        public abstract String         read_wstring();
032    
033        public abstract void read_boolean_array(
034                boolean[] value, int offset, int length);
035        public abstract void read_char_array(char[] value, int offset, int length);
036        public abstract void read_wchar_array(
037                char[] value, int offset, int length);
038        public abstract void read_octet_array(
039                byte[] value, int offset, int length);
040        public abstract void read_short_array(
041                short[] value, int offset, int length);
042        public abstract void read_ushort_array(
043                short[] value, int offset, int length);
044        public abstract void read_long_array(int[] value, int offset, int length);
045        public abstract void read_ulong_array(int[] value, int offset, int length);
046        public abstract void read_longlong_array(
047                long[] value, int offset, int length);
048        public abstract void read_ulonglong_array(
049                long[] value, int offset, int length);
050        public abstract void read_float_array(
051                float[] value, int offset, int length);
052        public abstract void read_double_array(
053                double[] value, int offset, int length);
054    
055        public abstract org.omg.CORBA.Object read_Object();
056        public org.omg.CORBA.Object read_Object(java.lang.Class clz) {
057            throw new org.omg.CORBA.NO_IMPLEMENT();
058        }
059    
060        public abstract org.omg.CORBA.TypeCode read_TypeCode();
061        
062        public abstract org.omg.CORBA.Any read_any();
063    
064        public org.omg.CORBA.Context read_Context() {
065            throw new org.omg.CORBA.NO_IMPLEMENT();
066        }
067    
068        /**
069        * @deprecated Deprecated by CORBA 2.2
070        */
071        public org.omg.CORBA.Principal read_Principal() {
072            throw new org.omg.CORBA.NO_IMPLEMENT();
073        }
074     
075        /**
076        * @deprecated Deprecated by CORBA 2.4
077        */
078        public java.math.BigDecimal read_fixed() {
079            throw new org.omg.CORBA.NO_IMPLEMENT();
080        }
081        
082        public java.math.BigDecimal read_fixed(short digits, short scale) {
083            throw new org.omg.CORBA.NO_IMPLEMENT();
084        }
085    
086    }