org.objectweb.david.apis.presentation
Class DavidInputStream

java.lang.Object
  |
  +--java.io.InputStream
        |
        +--org.omg.CORBA.portable.InputStream
              |
              +--org.omg.CORBA_2_3.portable.InputStream
                    |
                    +--org.objectweb.david.apis.presentation.DavidInputStream
All Implemented Interfaces:
UnMarshaller
Direct Known Subclasses:
PortableMarshallerFactory.PortableUnMarshaller

public abstract class DavidInputStream
extends InputStream
implements UnMarshaller

Extension of the CORBA InputStream class.


Constructor Summary
DavidInputStream()
           
 
Method Summary
abstract  void close()
          void (abstract) implementation of the close method.
abstract  void endEncapsulation(int encapsulation_spec)
           
 Principal read_Principal()
          Deprecated.  
abstract  int startEncapsulation()
           
 
Methods inherited from class org.omg.CORBA_2_3.portable.InputStream
read_abstract_interface, read_abstract_interface, read_value, read_value, read_value, read_value, read_value
 
Methods inherited from class org.omg.CORBA.portable.InputStream
orb, read_any, read_boolean_array, read_boolean, read_char_array, read_char, read_Context, read_double_array, read_double, read_fixed, read_float_array, read_float, read_long_array, read_long, read_longlong_array, read_longlong, read_Object, read_Object, read_octet_array, read_octet, read_short_array, read_short, read_string, read_TypeCode, read_ulong_array, read_ulong, read_ulonglong_array, read_ulonglong, read_ushort_array, read_ushort, read_wchar_array, read_wchar, read_wstring, read
 
Methods inherited from class java.io.InputStream
available, mark, markSupported, read, read, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.objectweb.jonathan.apis.presentation.UnMarshaller
bytesRead, getContext, inputStream, isLittleEndian, readBoolean, readByte, readByteArray, readChar16, readChar8, readDouble, readFloat, readInt, readLong, readReference, readShort, readString16, readString8, readValue, setByteOrder, setSize
 

Constructor Detail

DavidInputStream

public DavidInputStream()
Method Detail

read_Principal

public Principal read_Principal()
Deprecated.  

Not implemented
Overrides:
read_Principal in class InputStream
Returns:
never

close

public abstract void close()
void (abstract) implementation of the close method.

This is here to avoid exception conflicts between InputStream and UnMarshaller.

Specified by:
close in interface UnMarshaller
Overrides:
close in class InputStream

startEncapsulation

public abstract int startEncapsulation()
                                throws JonathanException

endEncapsulation

public abstract void endEncapsulation(int encapsulation_spec)