org.apache.yoko.orb.CORBA
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 org.apache.yoko.orb.CORBA.OutputStream
All Implemented Interfaces:
Closeable, Flushable

public final class OutputStream
extends OutputStream


Field Summary
 Buffer buf_
           
 
Constructor Summary
OutputStream(Buffer buf)
           
OutputStream(Buffer buf, CodeConverters converters, int GIOPVersion)
           
 
Method Summary
 void _OB_align(int n)
           
 void _OB_alignNext(int n)
           
 void _OB_beginValue(int tag, String[] ids, boolean chunked)
           
 Buffer _OB_buffer()
           
 Object _OB_delegateContext()
           
 void _OB_delegateContext(Object delegateContext)
           
 void _OB_endValue()
           
 Object _OB_invocationContext()
           
 void _OB_invocationContext(Object invocationContext)
           
 ORBInstance _OB_ORBInstance()
           
 void _OB_ORBInstance(ORBInstance orbInstance)
           
 int _OB_pos()
           
 void _OB_pos(int pos)
           
 void _OB_writeEndian()
           
 InputStream create_input_stream()
           
 ORB orb()
           
 void write_abstract_interface(Object obj)
           
 void write_any(Any value)
           
 void write_boolean_array(boolean[] value, int offset, int length)
           
 void write_boolean(boolean value)
           
 void write_char_array(char[] value, int offset, int length)
           
 void write_char(char value)
           
 void write_Context(Context ctx, ContextList contexts)
           
 void write_double_array(double[] value, int offset, int length)
           
 void write_double(double value)
           
 void write_fixed(BigDecimal value)
           
 void write_float_array(float[] value, int offset, int length)
           
 void write_float(float value)
           
 void write_InputStream(InputStream in, TypeCode tc)
           
 void write_long_array(int[] value, int offset, int length)
           
 void write_long(int value)
           
 void write_longlong_array(long[] value, int offset, int length)
           
 void write_longlong(long value)
           
 void write_Object(Object value)
           
 void write_octet_array(byte[] value, int offset, int length)
           
 void write_octet(byte value)
           
 void write_Principal(Principal value)
          Deprecated by CORBA 2.2.
 void write_short_array(short[] value, int offset, int length)
           
 void write_short(short value)
           
 void write_string(String value)
           
 void write_TypeCode(TypeCode t)
           
 void write_ulong_array(int[] value, int offset, int length)
           
 void write_ulong(int value)
           
 void write_ulonglong_array(long[] value, int offset, int length)
           
 void write_ulonglong(long value)
           
 void write_ushort_array(short[] value, int offset, int length)
           
 void write_ushort(short value)
           
 void write_value(Serializable value)
           
 void write_value(Serializable value, BoxedValueHelper helper)
           
 void write_value(Serializable value, Class clz)
           
 void write_value(Serializable value, String rep_id)
           
 void write_value(Serializable value, TypeCode tc, BoxedValueHelper helper)
           
 void write_wchar_array(char[] value, int offset, int length)
           
 void write_wchar(char value)
           
 void write_wchar(char value, boolean partOfString)
           
 void write_wstring(String value)
           
 void write(int b)
           
 void writeTypeCodeImpl(TypeCode tc, Hashtable history)
           
 
Methods inherited from class java.io.OutputStream
close, flush, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

buf_

public Buffer buf_
Constructor Detail

OutputStream

public OutputStream(Buffer buf)

OutputStream

public OutputStream(Buffer buf,
                    CodeConverters converters,
                    int GIOPVersion)
Method Detail

writeTypeCodeImpl

public void writeTypeCodeImpl(TypeCode tc,
                              Hashtable history)

write

public void write(int b)
           throws IOException
Overrides:
write in class OutputStream
Throws:
IOException

orb

public ORB orb()
Overrides:
orb in class OutputStream

create_input_stream

public InputStream create_input_stream()
Specified by:
create_input_stream in class OutputStream

write_boolean

public void write_boolean(boolean value)
Specified by:
write_boolean in class OutputStream

write_char

public void write_char(char value)
Specified by:
write_char in class OutputStream

write_wchar

public void write_wchar(char value)
Specified by:
write_wchar in class OutputStream

write_wchar

public void write_wchar(char value,
                        boolean partOfString)

write_octet

public void write_octet(byte value)
Specified by:
write_octet in class OutputStream

write_short

public void write_short(short value)
Specified by:
write_short in class OutputStream

write_ushort

public void write_ushort(short value)
Specified by:
write_ushort in class OutputStream

write_long

public void write_long(int value)
Specified by:
write_long in class OutputStream

write_ulong

public void write_ulong(int value)
Specified by:
write_ulong in class OutputStream

write_longlong

public void write_longlong(long value)
Specified by:
write_longlong in class OutputStream

write_ulonglong

public void write_ulonglong(long value)
Specified by:
write_ulonglong in class OutputStream

write_float

public void write_float(float value)
Specified by:
write_float in class OutputStream

write_double

public void write_double(double value)
Specified by:
write_double in class OutputStream

write_string

public void write_string(String value)
Specified by:
write_string in class OutputStream

write_wstring

public void write_wstring(String value)
Specified by:
write_wstring in class OutputStream

write_boolean_array

public void write_boolean_array(boolean[] value,
                                int offset,
                                int length)
Specified by:
write_boolean_array in class OutputStream

write_char_array

public void write_char_array(char[] value,
                             int offset,
                             int length)
Specified by:
write_char_array in class OutputStream

write_wchar_array

public void write_wchar_array(char[] value,
                              int offset,
                              int length)
Specified by:
write_wchar_array in class OutputStream

write_octet_array

public void write_octet_array(byte[] value,
                              int offset,
                              int length)
Specified by:
write_octet_array in class OutputStream

write_short_array

public void write_short_array(short[] value,
                              int offset,
                              int length)
Specified by:
write_short_array in class OutputStream

write_ushort_array

public void write_ushort_array(short[] value,
                               int offset,
                               int length)
Specified by:
write_ushort_array in class OutputStream

write_long_array

public void write_long_array(int[] value,
                             int offset,
                             int length)
Specified by:
write_long_array in class OutputStream

write_ulong_array

public void write_ulong_array(int[] value,
                              int offset,
                              int length)
Specified by:
write_ulong_array in class OutputStream

write_longlong_array

public void write_longlong_array(long[] value,
                                 int offset,
                                 int length)
Specified by:
write_longlong_array in class OutputStream

write_ulonglong_array

public void write_ulonglong_array(long[] value,
                                  int offset,
                                  int length)
Specified by:
write_ulonglong_array in class OutputStream

write_float_array

public void write_float_array(float[] value,
                              int offset,
                              int length)
Specified by:
write_float_array in class OutputStream

write_double_array

public void write_double_array(double[] value,
                               int offset,
                               int length)
Specified by:
write_double_array in class OutputStream

write_Object

public void write_Object(Object value)
Specified by:
write_Object in class OutputStream

write_TypeCode

public void write_TypeCode(TypeCode t)
Specified by:
write_TypeCode in class OutputStream

write_any

public void write_any(Any value)
Specified by:
write_any in class OutputStream

write_Context

public void write_Context(Context ctx,
                          ContextList contexts)
Overrides:
write_Context in class OutputStream

write_Principal

public void write_Principal(Principal value)
Description copied from class: OutputStream
Deprecated by CORBA 2.2.

Overrides:
write_Principal in class OutputStream

write_fixed

public void write_fixed(BigDecimal value)
Overrides:
write_fixed in class OutputStream

write_value

public void write_value(Serializable value)
Overrides:
write_value in class OutputStream

write_value

public void write_value(Serializable value,
                        String rep_id)
Overrides:
write_value in class OutputStream

write_value

public void write_value(Serializable value,
                        Class clz)
Overrides:
write_value in class OutputStream

write_value

public void write_value(Serializable value,
                        BoxedValueHelper helper)
Overrides:
write_value in class OutputStream

write_abstract_interface

public void write_abstract_interface(Object obj)
Overrides:
write_abstract_interface in class OutputStream

write_value

public void write_value(Serializable value,
                        TypeCode tc,
                        BoxedValueHelper helper)

write_InputStream

public void write_InputStream(InputStream in,
                              TypeCode tc)

_OB_buffer

public Buffer _OB_buffer()

_OB_pos

public int _OB_pos()

_OB_pos

public void _OB_pos(int pos)

_OB_align

public void _OB_align(int n)

_OB_alignNext

public void _OB_alignNext(int n)

_OB_writeEndian

public void _OB_writeEndian()

_OB_beginValue

public void _OB_beginValue(int tag,
                           String[] ids,
                           boolean chunked)

_OB_endValue

public void _OB_endValue()

_OB_ORBInstance

public void _OB_ORBInstance(ORBInstance orbInstance)

_OB_ORBInstance

public ORBInstance _OB_ORBInstance()

_OB_invocationContext

public void _OB_invocationContext(Object invocationContext)

_OB_invocationContext

public Object _OB_invocationContext()

_OB_delegateContext

public void _OB_delegateContext(Object delegateContext)

_OB_delegateContext

public Object _OB_delegateContext()


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