public abstract class OutputStream extends OutputStream
Constructor and Description |
---|
OutputStream() |
Modifier and Type | Method and Description |
---|---|
void |
write_abstract_interface(Object an_interface)
Writes an abstract interface to the stream.
|
void |
write_value(Serializable value)
Writes a value type into the output stream.
|
void |
write_value(Serializable value,
BoxedValueHelper helper)
Write value to the stream using the boxed value helper.
|
void |
write_value(Serializable value,
Class clz)
Writes a value type into the output stream, stating it is an
instance of the given class.
|
void |
write_value(Serializable value,
String repository_id)
Writes a value type into the output stream, stating it has the given
repository id.
|
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
close, flush, write, write
public OutputStream()
public void write_abstract_interface(Object an_interface)
ValueBase
interface. Also, the passed parameter is treated as value
it it does not implement CORBA Object.an_interface
- an abstract interface to write.public void write_value(Serializable value)
CustomValue
(for user-defined
writing method) or StreamableValue
(for standard writing using code,
generated by IDL compiler).
The written record will have a repository id, matching the class of the
passed object. The codebase will not be written.value
- a value type object to write.public void write_value(Serializable value, BoxedValueHelper helper)
CustomValue
(for user-defined writing method) or StreamableValue
(for standard writing using code, generated by IDL compiler).value
- a value to write.helper
- a helper, responsible for the writing operation.public void write_value(Serializable value, Class clz)
CustomValue
(for user-defined writing method) or StreamableValue
(for standard writing using code, generated by IDL compiler).value
- a value type object to write.public void write_value(Serializable value, String repository_id)
CustomValue
(for user-defined
writing method) or StreamableValue
(for standard writing using code,
generated by IDL compiler).repository_id
- a repository id of the value type.value
- a value type object to write.