org.apache.yoko.rmi.impl
Class CorbaObjectReader

java.lang.Object
  extended by java.io.InputStream
      extended by java.io.ObjectInputStream
          extended by org.apache.yoko.rmi.impl.ObjectReader
              extended by org.apache.yoko.rmi.impl.CorbaObjectReader
All Implemented Interfaces:
Closeable, DataInput, ObjectInput, ObjectStreamConstants

public class CorbaObjectReader
extends ObjectReader


Nested Class Summary
 
Nested classes/interfaces inherited from class java.io.ObjectInputStream
ObjectInputStream.GetField
 
Field Summary
 
Fields inherited from interface java.io.ObjectStreamConstants
baseWireHandle, PROTOCOL_VERSION_1, PROTOCOL_VERSION_2, SC_BLOCK_DATA, SC_ENUM, SC_EXTERNALIZABLE, SC_SERIALIZABLE, SC_WRITE_METHOD, STREAM_MAGIC, STREAM_VERSION, SUBCLASS_IMPLEMENTATION_PERMISSION, SUBSTITUTION_PERMISSION, TC_ARRAY, TC_BASE, TC_BLOCKDATA, TC_BLOCKDATALONG, TC_CLASS, TC_CLASSDESC, TC_ENDBLOCKDATA, TC_ENUM, TC_EXCEPTION, TC_LONGSTRING, TC_MAX, TC_NULL, TC_OBJECT, TC_PROXYCLASSDESC, TC_REFERENCE, TC_RESET, TC_STRING
 
Method Summary
 int available()
           
 int read()
           
 int read(byte[] arr)
           
 int read(byte[] arr, int off, int len)
           
 Object readAbstractObject()
           
 Object readAny()
           
 boolean readBoolean()
           
 byte readByte()
           
 char readChar()
           
 Object readCorbaObject(Class type)
           
 double readDouble()
           
 float readFloat()
           
 void readFully(byte[] arr, int off, int val)
           
 int readInt()
           
 String readLine()
          Deprecated.  
 long readLong()
           
 Remote readRemoteObject(Class type)
           
 short readShort()
           
 int readUnsignedByte()
           
 int readUnsignedShort()
           
 String readUTF()
           
 Object readValueObject()
           
 Object readValueObject(Class clz)
           
 long skip(long len)
           
 int skipBytes(int len)
           
 
Methods inherited from class org.apache.yoko.rmi.impl.ObjectReader
close, defaultReadObject, enterRecursion, exitRecursion, readFields, readFully, readObjectOverride, registerValidation
 
Methods inherited from class java.io.ObjectInputStream
enableResolveObject, readClassDescriptor, readObject, readStreamHeader, readUnshared, resolveClass, resolveObject, resolveProxyClass
 
Methods inherited from class java.io.InputStream
mark, markSupported, reset
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

readFully

public void readFully(byte[] arr,
                      int off,
                      int val)
               throws IOException
Specified by:
readFully in interface DataInput
Overrides:
readFully in class ObjectInputStream
Throws:
IOException

skipBytes

public int skipBytes(int len)
              throws IOException
Specified by:
skipBytes in interface DataInput
Overrides:
skipBytes in class ObjectInputStream
Throws:
IOException

readBoolean

public boolean readBoolean()
                    throws IOException
Specified by:
readBoolean in interface DataInput
Overrides:
readBoolean in class ObjectInputStream
Throws:
IOException

readByte

public byte readByte()
              throws IOException
Specified by:
readByte in interface DataInput
Overrides:
readByte in class ObjectInputStream
Throws:
IOException

readUnsignedByte

public int readUnsignedByte()
                     throws IOException
Specified by:
readUnsignedByte in interface DataInput
Overrides:
readUnsignedByte in class ObjectReader
Throws:
IOException

readShort

public short readShort()
                throws IOException
Specified by:
readShort in interface DataInput
Overrides:
readShort in class ObjectInputStream
Throws:
IOException

readUnsignedShort

public int readUnsignedShort()
                      throws IOException
Specified by:
readUnsignedShort in interface DataInput
Overrides:
readUnsignedShort in class ObjectReader
Throws:
IOException

readChar

public char readChar()
              throws IOException
Specified by:
readChar in interface DataInput
Overrides:
readChar in class ObjectInputStream
Throws:
IOException

readInt

public int readInt()
            throws IOException
Specified by:
readInt in interface DataInput
Overrides:
readInt in class ObjectInputStream
Throws:
IOException

readLong

public long readLong()
              throws IOException
Specified by:
readLong in interface DataInput
Overrides:
readLong in class ObjectInputStream
Throws:
IOException

readFloat

public float readFloat()
                throws IOException
Specified by:
readFloat in interface DataInput
Overrides:
readFloat in class ObjectInputStream
Throws:
IOException

readDouble

public double readDouble()
                  throws IOException
Specified by:
readDouble in interface DataInput
Overrides:
readDouble in class ObjectInputStream
Throws:
IOException

readLine

public String readLine()
                throws IOException
Deprecated. 

Specified by:
readLine in interface DataInput
Overrides:
readLine in class ObjectInputStream
Throws:
IOException

readUTF

public String readUTF()
               throws IOException
Specified by:
readUTF in interface DataInput
Overrides:
readUTF in class ObjectInputStream
Throws:
IOException

readAbstractObject

public Object readAbstractObject()
                          throws IndirectionException
Specified by:
readAbstractObject in class ObjectReader
Throws:
IndirectionException

readAny

public Object readAny()
               throws IndirectionException
Specified by:
readAny in class ObjectReader
Throws:
IndirectionException

readValueObject

public Object readValueObject()
                       throws IndirectionException
Specified by:
readValueObject in class ObjectReader
Throws:
IndirectionException

readValueObject

public Object readValueObject(Class clz)
                       throws IndirectionException
Specified by:
readValueObject in class ObjectReader
Throws:
IndirectionException

readCorbaObject

public Object readCorbaObject(Class type)
Specified by:
readCorbaObject in class ObjectReader

readRemoteObject

public Remote readRemoteObject(Class type)
Specified by:
readRemoteObject in class ObjectReader

read

public int read()
         throws IOException
Specified by:
read in interface ObjectInput
Overrides:
read in class ObjectInputStream
Throws:
IOException

read

public int read(byte[] arr)
         throws IOException
Specified by:
read in interface ObjectInput
Overrides:
read in class InputStream
Throws:
IOException

read

public int read(byte[] arr,
                int off,
                int len)
         throws IOException
Specified by:
read in interface ObjectInput
Overrides:
read in class ObjectInputStream
Throws:
IOException

skip

public long skip(long len)
          throws IOException
Specified by:
skip in interface ObjectInput
Overrides:
skip in class InputStream
Throws:
IOException

available

public int available()
              throws IOException
Specified by:
available in interface ObjectInput
Overrides:
available in class ObjectInputStream
Throws:
IOException


Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.