VisiBroker for Java

Class OutputStream

  extended by
      extended by org.omg.CORBA.portable.OutputStream
          extended by org.omg.CORBA_2_3.portable.OutputStream
              extended by com.inprise.vbroker.CORBA.portable.OutputStream
All Implemented Interfaces:,

public abstract class OutputStream
extends OutputStream

Extends functionality of org.omg.CORBA_2_3.OutputStream

Constructor Summary
Method Summary
abstract  boolean byteOrder()
abstract  void byteOrder(boolean b)
abstract  int calculatePadding(int offset, int alignment)
abstract  int dataOffset()
abstract  void dataOffset(int dataOffset)
abstract  void destroy()
          to be called when this stream will no longer be used (before it goes out of scope, is set to null, or is otherwise allowed to be put up for collection).
abstract  int offset()
abstract  void offset(int offset)
abstract  void reset_value_tables()
          Start a new CDR encapsulation in this stream.
abstract  void setVersion(short version)
abstract  byte[] toByteArray()
Methods inherited from class org.omg.CORBA_2_3.portable.OutputStream
write_abstract_interface, write_value, write_value, write_value, write_value
Methods inherited from class org.omg.CORBA.portable.OutputStream
create_input_stream, orb, write_any, write_boolean_array, write_boolean, write_char_array, write_char, write_Context, write_double_array, write_double, write_fixed, write_float_array, write_float, write_long_array, write_long, write_longlong_array, write_longlong, write_Object, write_octet_array, write_octet, write_Principal, write_short_array, write_short, write_string, write_TypeCode, write_ulong_array, write_ulong, write_ulonglong_array, write_ulonglong, write_ushort_array, write_ushort, write_wchar_array, write_wchar, write_wstring, write
Methods inherited from class
close, flush, write, write
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public OutputStream()
Method Detail


public abstract int offset()


public abstract void offset(int offset)


public abstract byte[] toByteArray()


public abstract boolean byteOrder()


public abstract void byteOrder(boolean b)


public abstract int dataOffset()


public abstract void dataOffset(int dataOffset)


public abstract void destroy()
to be called when this stream will no longer be used (before it goes out of scope, is set to null, or is otherwise allowed to be put up for collection).


public abstract void reset_value_tables()
Start a new CDR encapsulation in this stream. Output streams will keep the byteOrder of the current stream. InputStreams will read the byteOrder and adjust accordingly.


public abstract int calculatePadding(int offset,
                                     int alignment)


public abstract void setVersion(short version)

Borland Software Corporation
100 Enterprise Way
Scotts Valley, CA 95066
Voice: (831) 431-1000

Read the latest documentation online