All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class org.omg.CORBA.portable.OutputStream

java.lang.Object
   |
   +----java.io.OutputStream
           |
           +----org.omg.CORBA.portable.OutputStream

public abstract class OutputStream
extends OutputStream
This interface encapsulates an (Internet Inter-ORB Protocol) IIOP output stream. Instances of this class can be created from the ORB singleton.

See Also:
create_output_stream

Constructor Index

 o OutputStream()

Method Index

 o create_input_stream()
Create an input stream containing the contents of this output stream
 o write(int)
 o write_any(Any)
Write an IDL any value to the stream.
 o write_boolean(boolean)
Write an IDL boolean value to the stream.
 o write_boolean_array(boolean[], int, int)
Write an array of booleans (IDL sequence<boolean>) to the stream.
 o write_char(char)
Write an IDL char value to the stream.
 o write_char_array(char[], int, int)
Write an array of ASCII chararcters (IDL sequence<char>) to the stream.
 o write_double(double)
Write an IDL double value to the stream.
 o write_double_array(double[], int, int)
Write an array of doubles (IDL sequence<double>) to the stream.
 o write_estruct(Object, String)
 o write_float(float)
Write an IDL float value to the stream.
 o write_float_array(float[], int, int)
Write an array of floats (IDL sequence<float>) to the stream.
 o write_long(int)
Write an IDL long value to the stream.
 o write_long_array(int[], int, int)
Write an array of ints (IDL sequence<long>) to the stream.
 o write_longlong(long)
Write an IDL long long value to the stream.
 o write_longlong_array(long[], int, int)
Write an array of longs (IDL sequence<longlong>) to the stream.
 o write_Object(Object)
Write an IDL Object value to the stream.
 o write_octet(byte)
Write an IDL octet value to the stream.
 o write_octet_array(byte[], int, int)
Write an array of bytes (IDL sequence<octet>) to the stream.
 o write_Principal(Principal)
Write an IDL Principal to the stream.
 o write_short(short)
Write an IDL short value to the stream.
 o write_short_array(short[], int, int)
Write an array of shorts (IDL sequence<short>) to the stream.
 o write_string(String)
Write an IDL string value to the stream.
 o write_TypeCode(TypeCode)
Write an IDL TypeCode value to the stream.
 o write_ulong(int)
Write an IDL unsigned long value to the stream.
 o write_ulong_array(int[], int, int)
Write an array of ints (IDL sequence<unsigned long>) to the stream.
 o write_ulonglong(long)
Write an IDL unsigned long long value to the stream.
 o write_ulonglong_array(long[], int, int)
Write an array of longs (IDL sequence<uunsigned long long>) to the stream.
 o write_ushort(short)
Write an IDL unsigned short value to the stream.
 o write_ushort_array(short[], int, int)
Write an array of shorts (IDL sequence<unsigned short>) to the stream.
 o write_wchar(char)
Write an IDL wchar value to the stream.
 o write_wchar_array(char[], int, int)
Write an array of unicode characters (IDL sequence<wchar>) to the stream.
 o write_wstring(String)
Write an IDL wstring value to the stream.

Constructors

 o OutputStream
 public OutputStream()

Methods

 o create_input_stream
 public abstract InputStream create_input_stream()
Create an input stream containing the contents of this output stream

 o write_boolean
 public abstract void write_boolean(boolean value)
Write an IDL boolean value to the stream.

 o write_char
 public abstract void write_char(char value)
Write an IDL char value to the stream.

 o write_wchar
 public abstract void write_wchar(char value)
Write an IDL wchar value to the stream.

 o write_octet
 public abstract void write_octet(byte value)
Write an IDL octet value to the stream.

 o write_short
 public abstract void write_short(short value)
Write an IDL short value to the stream.

 o write_ushort
 public abstract void write_ushort(short value)
Write an IDL unsigned short value to the stream.

 o write_long
 public abstract void write_long(int value)
Write an IDL long value to the stream.

 o write_ulong
 public abstract void write_ulong(int value)
Write an IDL unsigned long value to the stream.

 o write_longlong
 public abstract void write_longlong(long value)
Write an IDL long long value to the stream.

 o write_ulonglong
 public abstract void write_ulonglong(long value)
Write an IDL unsigned long long value to the stream.

 o write_float
 public abstract void write_float(float value)
Write an IDL float value to the stream.

 o write_double
 public abstract void write_double(double value)
Write an IDL double value to the stream.

 o write_string
 public abstract void write_string(String value)
Write an IDL string value to the stream.

 o write_wstring
 public abstract void write_wstring(String value)
Write an IDL wstring value to the stream.

 o write_Object
 public abstract void write_Object(Object value)
Write an IDL Object value to the stream.

 o write_TypeCode
 public abstract void write_TypeCode(TypeCode value)
Write an IDL TypeCode value to the stream.

 o write_any
 public abstract void write_any(Any value)
Write an IDL any value to the stream.

 o write_Principal
 public abstract void write_Principal(Principal value)
Write an IDL Principal to the stream.

 o write_boolean_array
 public abstract void write_boolean_array(boolean value[],
                                          int offset,
                                          int length)
Write an array of booleans (IDL sequence<boolean>) to the stream.

Parameters:
value - the boolean array to write
offset - the position at which to start writing (usually 0)
length - the number of booleans to write (usually value.length)
 o write_char_array
 public abstract void write_char_array(char value[],
                                       int offset,
                                       int length)
Write an array of ASCII chararcters (IDL sequence<char>) to the stream.

Parameters:
value - the char array to write
offset - the position at which to start writing (usually 0)
length - the number of chars to write (usually value.length)
 o write_wchar_array
 public abstract void write_wchar_array(char value[],
                                        int offset,
                                        int length)
Write an array of unicode characters (IDL sequence<wchar>) to the stream.

Parameters:
value - the char array to write
offset - the position at which to start writing (usually 0)
length - the number of chars to write (usually value.length)
 o write_octet_array
 public abstract void write_octet_array(byte value[],
                                        int offset,
                                        int length)
Write an array of bytes (IDL sequence<octet>) to the stream.

Parameters:
value - the byte array to write
offset - the position at which to start writing (usually 0)
length - the number of bytes to write (usually value.length)
 o write_short_array
 public abstract void write_short_array(short value[],
                                        int offset,
                                        int length)
Write an array of shorts (IDL sequence<short>) to the stream.

Parameters:
value - the short array to write
offset - the position at which to start writing (usually 0)
length - the number of shorts to write (usually value.length)
 o write_ushort_array
 public abstract void write_ushort_array(short value[],
                                         int offset,
                                         int length)
Write an array of shorts (IDL sequence<unsigned short>) to the stream.

Parameters:
value - the short array to write
offset - the position at which to start writing (usually 0)
length - the number of shorts to write (usually value.length)
 o write_long_array
 public abstract void write_long_array(int value[],
                                       int offset,
                                       int length)
Write an array of ints (IDL sequence<long>) to the stream.

Parameters:
value - the int array to write
offset - the position at which to start writing (usually 0)
length - the number of ints to write (usually value.length)
 o write_ulong_array
 public abstract void write_ulong_array(int value[],
                                        int offset,
                                        int length)
Write an array of ints (IDL sequence<unsigned long>) to the stream.

Parameters:
value - the int array to write
offset - the position at which to start writing (usually 0)
length - the number of ints to write (usually value.length)
 o write_longlong_array
 public abstract void write_longlong_array(long value[],
                                           int offset,
                                           int length)
Write an array of longs (IDL sequence<longlong>) to the stream.

Parameters:
value - the long array to write
offset - the position at which to start writing (usually 0)
length - the number of longs to write (usually value.length)
 o write_ulonglong_array
 public abstract void write_ulonglong_array(long value[],
                                            int offset,
                                            int length)
Write an array of longs (IDL sequence<uunsigned long long>) to the stream.

Parameters:
value - the long array to write
offset - the position at which to start writing (usually 0)
length - the number of longs to write (usually value.length)
 o write_float_array
 public abstract void write_float_array(float value[],
                                        int offset,
                                        int length)
Write an array of floats (IDL sequence<float>) to the stream.

Parameters:
value - the float array to write
offset - the position at which to start writing (usually 0)
length - the number of floats to write (usually value.length)
 o write_double_array
 public abstract void write_double_array(double value[],
                                         int offset,
                                         int length)
Write an array of doubles (IDL sequence<double>) to the stream.

Parameters:
value - the double array to write
offset - the position at which to start writing (usually 0)
length - the number of doubles to write (usually value.length)
 o write_estruct
 public void write_estruct(Object value,
                           String expected_type)
 o write
 public void write(int b) throws IOException
Overrides:
write in class OutputStream

All Packages  Class Hierarchy  This Package  Previous  Next  Index