Class org.omg.CORBA.portable.OutputStream
java.lang.Object
|
+--java.io.OutputStream
|
+--org.omg.CORBA.portable.OutputStream
- public abstract class OutputStream
- extends OutputStream
OuputStream is the Java API for writing IDL types
to CDR marshal streams. These methods are used by the ORB to
marshal IDL types as well as to insert IDL types into Anys.
The _array
versions of the methods can be directly
used to write sequences and arrays of IDL types.
- Since:
- JDK1.2
Method Summary
|
abstract InputStream
|
create_input_stream()
|
void
|
end_block()
start_block and end_block methods are used to delimit a block
of data to be sent as GIOP chunked data. |
int
|
get_offset()
get_offset returns the current offset in the internal buffer.
|
ORB
|
orb()
Return the ORB that created this OutputStream |
void
|
start_block()
start_block and end_block methods are used to delimit a block
of data to be sent as GIOP chunked data. |
abstract void
|
write_any(Any value)
|
abstract void
|
write_boolean_array(boolean[] value,
int offset,
int length)
|
abstract void
|
write_boolean(boolean value)
|
abstract void
|
write_char_array(char[] value,
int offset,
int length)
|
abstract void
|
write_char(char value)
|
abstract void
|
write_double_array(double[] value,
int offset,
int length)
|
abstract void
|
write_double(double value)
|
void
|
write_fixednum_array(Number[] value,
int offset,
int length)
|
void
|
write_fixednum(Number value)
|
abstract void
|
write_float_array(float[] value,
int offset,
int length)
|
abstract void
|
write_float(float value)
|
abstract void
|
write_long_array(int[] value,
int offset,
int length)
|
abstract void
|
write_long(int value)
|
abstract void
|
write_longlong_array(long[] value,
int offset,
int length)
|
abstract void
|
write_longlong(long value)
|
abstract void
|
write_Object(Object value)
|
abstract void
|
write_octet_array(byte[] value,
int offset,
int length)
|
abstract void
|
write_octet(byte value)
|
abstract void
|
write_Principal(Principal value)
|
abstract void
|
write_short_array(short[] value,
int offset,
int length)
|
abstract void
|
write_short(short value)
|
abstract void
|
write_string(String value)
|
abstract void
|
write_TypeCode(TypeCode value)
|
abstract void
|
write_ulong_array(int[] value,
int offset,
int length)
|
abstract void
|
write_ulong(int value)
|
abstract void
|
write_ulonglong_array(long[] value,
int offset,
int length)
|
abstract void
|
write_ulonglong(long value)
|
abstract void
|
write_ushort_array(short[] value,
int offset,
int length)
|
abstract void
|
write_ushort(short value)
|
void
|
write_Value(Serializable value)
|
abstract void
|
write_wchar_array(char[] value,
int offset,
int length)
|
abstract void
|
write_wchar(char value)
|
abstract void
|
write_wstring(String value)
|
void
|
write(int b)
|
Methods inherited from class java.lang.Object |
clone
, equals
, finalize
, getClass
, hashCode
, notify
, notifyAll
, toString
, wait
, wait
, wait
|
OutputStream
public OutputStream()
create_input_stream
public abstract InputStream create_input_stream()
write_boolean
public abstract void write_boolean(boolean value)
write_char
public abstract void write_char(char value)
write_wchar
public abstract void write_wchar(char value)
write_octet
public abstract void write_octet(byte value)
write_short
public abstract void write_short(short value)
write_ushort
public abstract void write_ushort(short value)
write_long
public abstract void write_long(int value)
write_ulong
public abstract void write_ulong(int value)
write_longlong
public abstract void write_longlong(long value)
write_ulonglong
public abstract void write_ulonglong(long value)
write_float
public abstract void write_float(float value)
write_double
public abstract void write_double(double value)
write_string
public abstract void write_string(String value)
write_wstring
public abstract void write_wstring(String value)
write_boolean_array
public abstract void write_boolean_array(boolean[] value,
int offset,
int length)
write_char_array
public abstract void write_char_array(char[] value,
int offset,
int length)
write_wchar_array
public abstract void write_wchar_array(char[] value,
int offset,
int length)
write_octet_array
public abstract void write_octet_array(byte[] value,
int offset,
int length)
write_short_array
public abstract void write_short_array(short[] value,
int offset,
int length)
write_ushort_array
public abstract void write_ushort_array(short[] value,
int offset,
int length)
write_long_array
public abstract void write_long_array(int[] value,
int offset,
int length)
write_ulong_array
public abstract void write_ulong_array(int[] value,
int offset,
int length)
write_longlong_array
public abstract void write_longlong_array(long[] value,
int offset,
int length)
write_ulonglong_array
public abstract void write_ulonglong_array(long[] value,
int offset,
int length)
write_float_array
public abstract void write_float_array(float[] value,
int offset,
int length)
write_double_array
public abstract void write_double_array(double[] value,
int offset,
int length)
write_Object
public abstract void write_Object(Object value)
write_TypeCode
public abstract void write_TypeCode(TypeCode value)
write_any
public abstract void write_any(Any value)
write_Principal
public abstract void write_Principal(Principal value)
write
public void write(int b)
throws IOException
- Overrides:
- write in class OutputStream
write_fixednum
public void write_fixednum(Number value)
write_fixednum_array
public void write_fixednum_array(Number[] value,
int offset,
int length)
write_Value
public void write_Value(Serializable value)
get_offset
public int get_offset()
- get_offset returns the current offset in the internal buffer.
This value can later be used to mark references to the same
object.
- Returns:
- the offset in the internal buffer
start_block
public void start_block()
- start_block and end_block methods are used to delimit a block
of data to be sent as GIOP chunked data. The actual chunking
should be handled within the OutputStream and it can
arbitrarily divide the higher-level block into chunks as needed.
start_block/end_block pairs may be arbitrarily nested.
end_block
public void end_block()
- start_block and end_block methods are used to delimit a block
of data to be sent as GIOP chunked data. The actual chunking
should be handled within the OutputStream and it can
arbitrarily divide the higher-level block into chunks as needed.
start_block/end_block pairs may be arbitrarily nested.
orb
public ORB orb()
- Return the ORB that created this OutputStream
Submit a bug or feature
Submit comments/suggestions about new javadoc look
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.
This documentation was generated with a post-Beta4 version of Javadoc.