org.omg.CORBA
Interface DataOutputStream

All Superinterfaces:
IDLEntity sample code for org.omg.CORBA.portable.IDLEntity definition code for org.omg.CORBA.portable.IDLEntity , Serializable sample code for java.io.Serializable definition code for java.io.Serializable , ValueBase sample code for org.omg.CORBA.portable.ValueBase definition code for org.omg.CORBA.portable.ValueBase

public interface DataOutputStream
extends ValueBase sample code for org.omg.CORBA.portable.ValueBase definition code for org.omg.CORBA.portable.ValueBase

Defines the methods used to write primitive data types to output streams for marshalling custom value types. This interface is used by user written custom marshalling code for custom value types.

See Also:
DataInputStream sample code for org.omg.CORBA.DataInputStream definition code for org.omg.CORBA.DataInputStream , CustomMarshal sample code for org.omg.CORBA.CustomMarshal definition code for org.omg.CORBA.CustomMarshal

Method Summary
 void write_Abstract sample code for org.omg.CORBA.DataOutputStream.write_Abstract(java.lang.Object) definition code for org.omg.CORBA.DataOutputStream.write_Abstract(java.lang.Object) (Object sample code for java.lang.Object definition code for java.lang.Object  value)
          Writes the IDL Abstract interface type to the output stream.
 void write_any_array sample code for org.omg.CORBA.DataOutputStream.write_any_array(org.omg.CORBA.Any[], int, int) definition code for org.omg.CORBA.DataOutputStream.write_any_array(org.omg.CORBA.Any[], int, int) (Any sample code for org.omg.CORBA.Any definition code for org.omg.CORBA.Any [] seq, int offset, int length)
          Writes the array of IDL Anys from offset for length elements to the output stream.
 void write_any sample code for org.omg.CORBA.DataOutputStream.write_any(org.omg.CORBA.Any) definition code for org.omg.CORBA.DataOutputStream.write_any(org.omg.CORBA.Any) (Any sample code for org.omg.CORBA.Any definition code for org.omg.CORBA.Any  value)
          Writes the Any value to the output stream.
 void write_boolean_array sample code for org.omg.CORBA.DataOutputStream.write_boolean_array(boolean[], int, int) definition code for org.omg.CORBA.DataOutputStream.write_boolean_array(boolean[], int, int) (boolean[] seq, int offset, int length)
          Writes the array of IDL booleans from offset for length elements to the output stream.
 void write_boolean sample code for org.omg.CORBA.DataOutputStream.write_boolean(boolean) definition code for org.omg.CORBA.DataOutputStream.write_boolean(boolean) (boolean value)
          Writes the boolean value to the output stream.
 void write_char_array sample code for org.omg.CORBA.DataOutputStream.write_char_array(char[], int, int) definition code for org.omg.CORBA.DataOutputStream.write_char_array(char[], int, int) (char[] seq, int offset, int length)
          Writes the array of IDL characters from offset for length elements to the output stream.
 void write_char sample code for org.omg.CORBA.DataOutputStream.write_char(char) definition code for org.omg.CORBA.DataOutputStream.write_char(char) (char value)
          Writes the IDL character value to the output stream.
 void write_double_array sample code for org.omg.CORBA.DataOutputStream.write_double_array(double[], int, int) definition code for org.omg.CORBA.DataOutputStream.write_double_array(double[], int, int) (double[] seq, int offset, int length)
          Writes the array of IDL doubles from offset for length elements to the output stream.
 void write_double sample code for org.omg.CORBA.DataOutputStream.write_double(double) definition code for org.omg.CORBA.DataOutputStream.write_double(double) (double value)
          Writes the IDL double value to the output stream.
 void write_float_array sample code for org.omg.CORBA.DataOutputStream.write_float_array(float[], int, int) definition code for org.omg.CORBA.DataOutputStream.write_float_array(float[], int, int) (float[] seq, int offset, int length)
          Writes the array of IDL floats from offset for length elements to the output stream.
 void write_float sample code for org.omg.CORBA.DataOutputStream.write_float(float) definition code for org.omg.CORBA.DataOutputStream.write_float(float) (float value)
          Writes the IDL float value to the output stream.
 void write_long_array sample code for org.omg.CORBA.DataOutputStream.write_long_array(int[], int, int) definition code for org.omg.CORBA.DataOutputStream.write_long_array(int[], int, int) (int[] seq, int offset, int length)
          Writes the array of IDL longs from offset for length elements to the output stream.
 void write_long sample code for org.omg.CORBA.DataOutputStream.write_long(int) definition code for org.omg.CORBA.DataOutputStream.write_long(int) (int value)
          Writes the IDL long value (represented as a Java int) to the output stream.
 void write_longlong_array sample code for org.omg.CORBA.DataOutputStream.write_longlong_array(long[], int, int) definition code for org.omg.CORBA.DataOutputStream.write_longlong_array(long[], int, int) (long[] seq, int offset, int length)
          Writes the array of IDL long longs from offset for length elements to the output stream.
 void write_longlong sample code for org.omg.CORBA.DataOutputStream.write_longlong(long) definition code for org.omg.CORBA.DataOutputStream.write_longlong(long) (long value)
          Writes the IDL long long value (represented as a Java long) to the output stream.
 void write_Object sample code for org.omg.CORBA.DataOutputStream.write_Object(org.omg.CORBA.Object) definition code for org.omg.CORBA.DataOutputStream.write_Object(org.omg.CORBA.Object) (Object sample code for org.omg.CORBA.Object definition code for org.omg.CORBA.Object  value)
          Writes the IDL CORBA::Object value to the output stream.
 void write_octet_array sample code for org.omg.CORBA.DataOutputStream.write_octet_array(byte[], int, int) definition code for org.omg.CORBA.DataOutputStream.write_octet_array(byte[], int, int) (byte[] seq, int offset, int length)
          Writes the array of IDL octets from offset for length elements to the output stream.
 void write_octet sample code for org.omg.CORBA.DataOutputStream.write_octet(byte) definition code for org.omg.CORBA.DataOutputStream.write_octet(byte) (byte value)
          Writes the IDL octet value (represented as a Java byte) to the output stream.
 void write_short_array sample code for org.omg.CORBA.DataOutputStream.write_short_array(short[], int, int) definition code for org.omg.CORBA.DataOutputStream.write_short_array(short[], int, int) (short[] seq, int offset, int length)
          Writes the array of IDL shorts from offset for length elements to the output stream.
 void write_short sample code for org.omg.CORBA.DataOutputStream.write_short(short) definition code for org.omg.CORBA.DataOutputStream.write_short(short) (short value)
          Writes the IDL short value to the output stream.
 void write_string sample code for org.omg.CORBA.DataOutputStream.write_string(java.lang.String) definition code for org.omg.CORBA.DataOutputStream.write_string(java.lang.String) (String sample code for java.lang.String definition code for java.lang.String  value)
          Writes the IDL string value to the output stream.
 void write_TypeCode sample code for org.omg.CORBA.DataOutputStream.write_TypeCode(org.omg.CORBA.TypeCode) definition code for org.omg.CORBA.DataOutputStream.write_TypeCode(org.omg.CORBA.TypeCode) (TypeCode sample code for org.omg.CORBA.TypeCode definition code for org.omg.CORBA.TypeCode  value)
          Writes the typecode to the output stream.
 void write_ulong_array sample code for org.omg.CORBA.DataOutputStream.write_ulong_array(int[], int, int) definition code for org.omg.CORBA.DataOutputStream.write_ulong_array(int[], int, int) (int[] seq, int offset, int length)
          Writes the array of IDL unsigned longs (represented as Java ints) from offset for length elements to the output stream.
 void write_ulong sample code for org.omg.CORBA.DataOutputStream.write_ulong(int) definition code for org.omg.CORBA.DataOutputStream.write_ulong(int) (int value)
          Writes the IDL unsigned long value (represented as a Java int) to the output stream.
 void write_ulonglong_array sample code for org.omg.CORBA.DataOutputStream.write_ulonglong_array(long[], int, int) definition code for org.omg.CORBA.DataOutputStream.write_ulonglong_array(long[], int, int) (long[] seq, int offset, int length)
          Writes the array of IDL unsigned long longs (represented as Java longs) from offset for length elements to the output stream.
 void write_ulonglong sample code for org.omg.CORBA.DataOutputStream.write_ulonglong(long) definition code for org.omg.CORBA.DataOutputStream.write_ulonglong(long) (long value)
          Writes the IDL unsigned long long value (represented as a Java long) to the output stream.
 void write_ushort_array sample code for org.omg.CORBA.DataOutputStream.write_ushort_array(short[], int, int) definition code for org.omg.CORBA.DataOutputStream.write_ushort_array(short[], int, int) (short[] seq, int offset, int length)
          Writes the array of IDL unsigned shorts (represented as Java shorts) from offset for length elements to the output stream.
 void write_ushort sample code for org.omg.CORBA.DataOutputStream.write_ushort(short) definition code for org.omg.CORBA.DataOutputStream.write_ushort(short) (short value)
          Writes the IDL unsigned short value (represented as a Java short value) to the output stream.
 void write_Value sample code for org.omg.CORBA.DataOutputStream.write_Value(java.io.Serializable) definition code for org.omg.CORBA.DataOutputStream.write_Value(java.io.Serializable) (Serializable sample code for java.io.Serializable definition code for java.io.Serializable  value)
          Writes the IDL value type value to the output stream.
 void write_wchar_array sample code for org.omg.CORBA.DataOutputStream.write_wchar_array(char[], int, int) definition code for org.omg.CORBA.DataOutputStream.write_wchar_array(char[], int, int) (char[] seq, int offset, int length)
          Writes the array of IDL wide characters from offset for length elements to the output stream.
 void write_wchar sample code for org.omg.CORBA.DataOutputStream.write_wchar(char) definition code for org.omg.CORBA.DataOutputStream.write_wchar(char) (char value)
          Writes the IDL wide character value to the output stream.
 void write_wstring sample code for org.omg.CORBA.DataOutputStream.write_wstring(java.lang.String) definition code for org.omg.CORBA.DataOutputStream.write_wstring(java.lang.String) (String sample code for java.lang.String definition code for java.lang.String  value)
          Writes the IDL wide string value (represented as a Java String) to the output stream.
 
Methods inherited from interface org.omg.CORBA.portable.ValueBase sample code for org.omg.CORBA.portable.ValueBase definition code for org.omg.CORBA.portable.ValueBase
_truncatable_ids sample code for org.omg.CORBA.portable.ValueBase._truncatable_ids() definition code for org.omg.CORBA.portable.ValueBase._truncatable_ids()
 

Method Detail

write_any sample code for org.omg.CORBA.DataOutputStream.write_any(org.omg.CORBA.Any) definition code for org.omg.CORBA.DataOutputStream.write_any(org.omg.CORBA.Any)

void write_any(Any sample code for org.omg.CORBA.Any definition code for org.omg.CORBA.Any  value)
Writes the Any value to the output stream.

Parameters:
value - The value to be written.

write_boolean sample code for org.omg.CORBA.DataOutputStream.write_boolean(boolean) definition code for org.omg.CORBA.DataOutputStream.write_boolean(boolean)

void write_boolean(boolean value)
Writes the boolean value to the output stream.

Parameters:
value - The value to be written.

write_char sample code for org.omg.CORBA.DataOutputStream.write_char(char) definition code for org.omg.CORBA.DataOutputStream.write_char(char)

void write_char(char value)
Writes the IDL character value to the output stream.

Parameters:
value - The value to be written.

write_wchar sample code for org.omg.CORBA.DataOutputStream.write_wchar(char) definition code for org.omg.CORBA.DataOutputStream.write_wchar(char)

void write_wchar(char value)
Writes the IDL wide character value to the output stream.

Parameters:
value - The value to be written.

write_octet sample code for org.omg.CORBA.DataOutputStream.write_octet(byte) definition code for org.omg.CORBA.DataOutputStream.write_octet(byte)

void write_octet(byte value)
Writes the IDL octet value (represented as a Java byte) to the output stream.

Parameters:
value - The value to be written.

write_short sample code for org.omg.CORBA.DataOutputStream.write_short(short) definition code for org.omg.CORBA.DataOutputStream.write_short(short)

void write_short(short value)
Writes the IDL short value to the output stream.

Parameters:
value - The value to be written.

write_ushort sample code for org.omg.CORBA.DataOutputStream.write_ushort(short) definition code for org.omg.CORBA.DataOutputStream.write_ushort(short)

void write_ushort(short value)
Writes the IDL unsigned short value (represented as a Java short value) to the output stream.

Parameters:
value - The value to be written.

write_long sample code for org.omg.CORBA.DataOutputStream.write_long(int) definition code for org.omg.CORBA.DataOutputStream.write_long(int)

void write_long(int value)
Writes the IDL long value (represented as a Java int) to the output stream.

Parameters:
value - The value to be written.

write_ulong sample code for org.omg.CORBA.DataOutputStream.write_ulong(int) definition code for org.omg.CORBA.DataOutputStream.write_ulong(int)

void write_ulong(int value)
Writes the IDL unsigned long value (represented as a Java int) to the output stream.

Parameters:
value - The value to be written.

write_longlong sample code for org.omg.CORBA.DataOutputStream.write_longlong(long) definition code for org.omg.CORBA.DataOutputStream.write_longlong(long)

void write_longlong(long value)
Writes the IDL long long value (represented as a Java long) to the output stream.

Parameters:
value - The value to be written.

write_ulonglong sample code for org.omg.CORBA.DataOutputStream.write_ulonglong(long) definition code for org.omg.CORBA.DataOutputStream.write_ulonglong(long)

void write_ulonglong(long value)
Writes the IDL unsigned long long value (represented as a Java long) to the output stream.

Parameters:
value - The value to be written.

write_float sample code for org.omg.CORBA.DataOutputStream.write_float(float) definition code for org.omg.CORBA.DataOutputStream.write_float(float)

void write_float(float value)
Writes the IDL float value to the output stream.

Parameters:
value - The value to be written.

write_double sample code for org.omg.CORBA.DataOutputStream.write_double(double) definition code for org.omg.CORBA.DataOutputStream.write_double(double)

void write_double(double value)
Writes the IDL double value to the output stream.

Parameters:
value - The value to be written.

write_string sample code for org.omg.CORBA.DataOutputStream.write_string(java.lang.String) definition code for org.omg.CORBA.DataOutputStream.write_string(java.lang.String)

void write_string(String sample code for java.lang.String definition code for java.lang.String  value)
Writes the IDL string value to the output stream.

Parameters:
value - The value to be written.

write_wstring sample code for org.omg.CORBA.DataOutputStream.write_wstring(java.lang.String) definition code for org.omg.CORBA.DataOutputStream.write_wstring(java.lang.String)

void write_wstring(String sample code for java.lang.String definition code for java.lang.String  value)
Writes the IDL wide string value (represented as a Java String) to the output stream.

Parameters:
value - The value to be written.

write_Object sample code for org.omg.CORBA.DataOutputStream.write_Object(org.omg.CORBA.Object) definition code for org.omg.CORBA.DataOutputStream.write_Object(org.omg.CORBA.Object)

void write_Object(Object sample code for org.omg.CORBA.Object definition code for org.omg.CORBA.Object  value)
Writes the IDL CORBA::Object value to the output stream.

Parameters:
value - The value to be written.

write_Abstract sample code for org.omg.CORBA.DataOutputStream.write_Abstract(java.lang.Object) definition code for org.omg.CORBA.DataOutputStream.write_Abstract(java.lang.Object)

void write_Abstract(Object sample code for java.lang.Object definition code for java.lang.Object  value)
Writes the IDL Abstract interface type to the output stream.

Parameters:
value - The value to be written.

write_Value sample code for org.omg.CORBA.DataOutputStream.write_Value(java.io.Serializable) definition code for org.omg.CORBA.DataOutputStream.write_Value(java.io.Serializable)

void write_Value(Serializable sample code for java.io.Serializable definition code for java.io.Serializable  value)
Writes the IDL value type value to the output stream.

Parameters:
value - The value to be written.

write_TypeCode sample code for org.omg.CORBA.DataOutputStream.write_TypeCode(org.omg.CORBA.TypeCode) definition code for org.omg.CORBA.DataOutputStream.write_TypeCode(org.omg.CORBA.TypeCode)

void write_TypeCode(TypeCode sample code for org.omg.CORBA.TypeCode definition code for org.omg.CORBA.TypeCode  value)
Writes the typecode to the output stream.

Parameters:
value - The value to be written.

write_any_array sample code for org.omg.CORBA.DataOutputStream.write_any_array(org.omg.CORBA.Any[], int, int) definition code for org.omg.CORBA.DataOutputStream.write_any_array(org.omg.CORBA.Any[], int, int)

void write_any_array(Any sample code for org.omg.CORBA.Any definition code for org.omg.CORBA.Any [] seq,
                     int offset,
                     int length)
Writes the array of IDL Anys from offset for length elements to the output stream.

Parameters:
seq - The array to be written.
offset - The index into seq of the first element to write to the output stream.
length - The number of elements to write to the output stream.

write_boolean_array sample code for org.omg.CORBA.DataOutputStream.write_boolean_array(boolean[], int, int) definition code for org.omg.CORBA.DataOutputStream.write_boolean_array(boolean[], int, int)

void write_boolean_array(boolean[] seq,
                         int offset,
                         int length)
Writes the array of IDL booleans from offset for length elements to the output stream.

Parameters:
seq - The array to be written.
offset - The index into seq of the first element to write to the output stream.
length - The number of elements to write to the output stream.

write_char_array sample code for org.omg.CORBA.DataOutputStream.write_char_array(char[], int, int) definition code for org.omg.CORBA.DataOutputStream.write_char_array(char[], int, int)

void write_char_array(char[] seq,
                      int offset,
                      int length)
Writes the array of IDL characters from offset for length elements to the output stream.

Parameters:
seq - The array to be written.
offset - The index into seq of the first element to write to the output stream.
length - The number of elements to write to the output stream.

write_wchar_array sample code for org.omg.CORBA.DataOutputStream.write_wchar_array(char[], int, int) definition code for org.omg.CORBA.DataOutputStream.write_wchar_array(char[], int, int)

void write_wchar_array(char[] seq,
                       int offset,
                       int length)
Writes the array of IDL wide characters from offset for length elements to the output stream.

Parameters:
seq - The array to be written.
offset - The index into seq of the first element to write to the output stream.
length - The number of elements to write to the output stream.

write_octet_array sample code for org.omg.CORBA.DataOutputStream.write_octet_array(byte[], int, int) definition code for org.omg.CORBA.DataOutputStream.write_octet_array(byte[], int, int)

void write_octet_array(byte[] seq,
                       int offset,
                       int length)
Writes the array of IDL octets from offset for length elements to the output stream.

Parameters:
seq - The array to be written.
offset - The index into seq of the first element to write to the output stream.
length - The number of elements to write to the output stream.

write_short_array sample code for org.omg.CORBA.DataOutputStream.write_short_array(short[], int, int) definition code for org.omg.CORBA.DataOutputStream.write_short_array(short[], int, int)

void write_short_array(short[] seq,
                       int offset,
                       int length)
Writes the array of IDL shorts from offset for length elements to the output stream.

Parameters:
seq - The array to be written.
offset - The index into seq of the first element to write to the output stream.
length - The number of elements to write to the output stream.

write_ushort_array sample code for org.omg.CORBA.DataOutputStream.write_ushort_array(short[], int, int) definition code for org.omg.CORBA.DataOutputStream.write_ushort_array(short[], int, int)

void write_ushort_array(short[] seq,
                        int offset,
                        int length)
Writes the array of IDL unsigned shorts (represented as Java shorts) from offset for length elements to the output stream.

Parameters:
seq - The array to be written.
offset - The index into seq of the first element to write to the output stream.
length - The number of elements to write to the output stream.

write_long_array sample code for org.omg.CORBA.DataOutputStream.write_long_array(int[], int, int) definition code for org.omg.CORBA.DataOutputStream.write_long_array(int[], int, int)

void write_long_array(int[] seq,
                      int offset,
                      int length)
Writes the array of IDL longs from offset for length elements to the output stream.

Parameters:
seq - The array to be written.
offset - The index into seq of the first element to write to the output stream.
length - The number of elements to write to the output stream.

write_ulong_array sample code for org.omg.CORBA.DataOutputStream.write_ulong_array(int[], int, int) definition code for org.omg.CORBA.DataOutputStream.write_ulong_array(int[], int, int)

void write_ulong_array(int[] seq,
                       int offset,
                       int length)
Writes the array of IDL unsigned longs (represented as Java ints) from offset for length elements to the output stream.

Parameters:
seq - The array to be written.
offset - The index into seq of the first element to write to the output stream.
length - The number of elements to write to the output stream.

write_ulonglong_array sample code for org.omg.CORBA.DataOutputStream.write_ulonglong_array(long[], int, int) definition code for org.omg.CORBA.DataOutputStream.write_ulonglong_array(long[], int, int)

void write_ulonglong_array(long[] seq,
                           int offset,
                           int length)
Writes the array of IDL unsigned long longs (represented as Java longs) from offset for length elements to the output stream.

Parameters:
seq - The array to be written.
offset - The index into seq of the first element to write to the output stream.
length - The number of elements to write to the output stream.

write_longlong_array sample code for org.omg.CORBA.DataOutputStream.write_longlong_array(long[], int, int) definition code for org.omg.CORBA.DataOutputStream.write_longlong_array(long[], int, int)

void write_longlong_array(long[] seq,
                          int offset,
                          int length)
Writes the array of IDL long longs from offset for length elements to the output stream.

Parameters:
seq - The array to be written.
offset - The index into seq of the first element to write to the output stream.
length - The number of elements to write to the output stream.

write_float_array sample code for org.omg.CORBA.DataOutputStream.write_float_array(float[], int, int) definition code for org.omg.CORBA.DataOutputStream.write_float_array(float[], int, int)

void write_float_array(float[] seq,
                       int offset,
                       int length)
Writes the array of IDL floats from offset for length elements to the output stream.

Parameters:
seq - The array to be written.
offset - The index into seq of the first element to write to the output stream.
length - The number of elements to write to the output stream.

write_double_array sample code for org.omg.CORBA.DataOutputStream.write_double_array(double[], int, int) definition code for org.omg.CORBA.DataOutputStream.write_double_array(double[], int, int)

void write_double_array(double[] seq,
                        int offset,
                        int length)
Writes the array of IDL doubles from offset for length elements to the output stream.

Parameters:
seq - The array to be written.
offset - The index into seq of the first element to write to the output stream.
length - The number of elements to write to the output stream.