VisiBroker for Java

com.inprise.vbroker.CORBA.portable
Class OutputStream

java.lang.Object
  extended by java.io.OutputStream
      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:
java.io.Closeable, java.io.Flushable

public abstract class OutputStream
extends OutputStream

Extends functionality of org.omg.CORBA_2_3.OutputStream


Constructor Summary
OutputStream()
           
 
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 java.io.OutputStream
close, flush, write, write
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OutputStream

public OutputStream()
Method Detail

offset

public abstract int offset()

offset

public abstract void offset(int offset)

toByteArray

public abstract byte[] toByteArray()

byteOrder

public abstract boolean byteOrder()

byteOrder

public abstract void byteOrder(boolean b)

dataOffset

public abstract int dataOffset()

dataOffset

public abstract void dataOffset(int dataOffset)

destroy

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).


reset_value_tables

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.


calculatePadding

public abstract int calculatePadding(int offset,
                                     int alignment)

setVersion

public abstract void setVersion(short version)

Borland Software Corporation
http://www.borland.com
100 Enterprise Way
Scotts Valley, CA 95066
Voice: (831) 431-1000
pubsweb@borland.com

Read the latest documentation online