org.objectweb.david.libs.presentation.portable
Class PortableMarshallerFactory.PortableUnMarshallerD

java.lang.Object
  extended byjava.io.InputStream
      extended byorg.omg.CORBA.portable.InputStream
          extended byorg.omg.CORBA_2_3.portable.InputStream
              extended byorg.objectweb.david.apis.presentation.DavidInputStream
                  extended byorg.objectweb.david.libs.presentation.portable.PortableMarshallerFactory.PortableUnMarshaller
                      extended byorg.objectweb.david.libs.presentation.portable.PortableMarshallerFactory.PortableUnMarshallerD
All Implemented Interfaces:
UnMarshaller
Enclosing class:
PortableMarshallerFactory

public class PortableMarshallerFactory.PortableUnMarshallerD
extends PortableMarshallerFactory.PortableUnMarshaller

PortableUnMarshallerD is an implementation of UnMarshaller.


Field Summary
 
Fields inherited from class org.objectweb.david.libs.presentation.portable.PortableMarshallerFactory.PortableUnMarshaller
first, last_offset, little_endian, offset
 
Constructor Summary
PortableMarshallerFactory.PortableUnMarshallerD(ChunkProvider message)
          Constructs a new unmarshaller.
 
Method Summary
 void close()
          Closes the target unmarshaller, releasing all underlying resources (including a possible chunk provider).
protected  void prepare()
          Redefines the prepare method of PortableUnMarshaller to deal with the chunk provider.
 
Methods inherited from class org.objectweb.david.libs.presentation.portable.PortableMarshallerFactory.PortableUnMarshaller
available, bytesRead, endEncapsulation, getContext, inputStream, isLittleEndian, read_abstract_interface, read_abstract_interface, read_any, read_boolean_array, read_boolean, read_char_array, read_char, read_double_array, read_double, 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_value, read_value, read_value, read_value, read_value, read_wchar_array, read_wchar, read_wstring, read, read, readBoolean, readByte, readByteArray, readChar16, readChar8, readDouble, readFloat, readInt, readLong, readReference, readShort, readString16, readString8, readValue, setByteOrder, setSize, skip, skipPadding, startEncapsulation
 
Methods inherited from class org.objectweb.david.apis.presentation.DavidInputStream
read_Principal
 
Methods inherited from class org.omg.CORBA.portable.InputStream
orb, read_Context, read_fixed
 
Methods inherited from class java.io.InputStream
mark, markSupported, read, reset
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortableMarshallerFactory.PortableUnMarshallerD

public PortableMarshallerFactory.PortableUnMarshallerD(ChunkProvider message)
Constructs a new unmarshaller.

Parameters:
message - a chunk provider.
Method Detail

prepare

protected void prepare()
                throws org.objectweb.jonathan.apis.kernel.JonathanException
Redefines the prepare method of PortableUnMarshaller to deal with the chunk provider.

Overrides:
prepare in class PortableMarshallerFactory.PortableUnMarshaller
Throws:
org.objectweb.jonathan.apis.kernel.JonathanException - if something goes wrong.

close

public void close()
Description copied from interface: UnMarshaller
Closes the target unmarshaller, releasing all underlying resources (including a possible chunk provider).

Specified by:
close in interface UnMarshaller
Overrides:
close in class PortableMarshallerFactory.PortableUnMarshaller