org.omg.CORBA.portable
public abstract class OutputStream extends OutputStream
Method Summary | |
---|---|
abstract InputStream | create_input_stream()
Returns an input stream with the same buffer. |
ORB | orb()
Return the Object Request Broker that has created this stream. |
void | write(int n)
Should write an byte (lower 8 bits) to the output stream, but,
following specification, it does not and
must be overridden to get a functionality.
|
abstract void | write_any(Any x)
Write CORBA Any . |
abstract void | write_boolean(boolean x)
Write CORBA boolean . |
abstract void | write_boolean_array(boolean[] x, int ofs, int len)
Write CORBA booelan[] . |
abstract void | write_char(char x)
Write CORBA char . |
abstract void | write_char_array(char[] chars, int offset, int length)
Write CORBA char[] . |
void | write_Context(Context context, ContextList contexts)
Should write a CORBA context to the output stream, but,
following the 1.4 specification, it does not and
must be overridden to get a functionality.
|
abstract void | write_double(double x)
Write CORBA double . |
abstract void | write_double_array(double[] x, int ofs, int len)
Write CORBA double[] . |
void | write_fixed(BigDecimal fixed)
Should write a BigDecimal number, but, following specification,
it does not and must be overridden to get a functionality.
|
abstract void | write_float(float x)
Write CORBA float . |
abstract void | write_float_array(float[] x, int ofs, int len)
Write CORBA float[] . |
abstract void | write_long(int x)
Write CORBA long that is mapped into java int . |
abstract void | write_longlong(long x)
Write CORBA long long that is mapped into
java long . |
abstract void | write_longlong_array(long[] x, int ofs, int len)
Write CORBA long long [] . |
abstract void | write_long_array(int[] x, int ofs, int len)
Write CORBA long[] . |
abstract void | write_octet(byte x)
Write CORBA octed that is mapped into java byte |
abstract void | write_octet_array(byte[] x, int ofs, int len)
Write CORBA octet[] . |
abstract void | write_Object(Object x)
Write CORBA (not java) Object. |
void | write_Principal(Principal principal)
Should write a principal to the output stream, but,
following specification, it does not and
must be overridden to get a functionality.
|
abstract void | write_short(short x)
Write CORBA short . |
abstract void | write_short_array(short[] x, int ofs, int len)
Write CORBA short[] . |
abstract void | write_string(String x)
Write CORBA string . |
abstract void | write_TypeCode(TypeCode x)
Write TypeCode. |
abstract void | write_ulong(int x)
Write unsigned CORBA long that is mapped into
java int . |
abstract void | write_ulonglong(long x)
Write unsigned CORBA long long that is mapped into
java long . |
abstract void | write_ulonglong_array(long[] x, int ofs, int len)
Write array of unsigned CORBA long-longs. |
abstract void | write_ulong_array(int[] x, int ofs, int len)
Write array of CORBA unsigned longs. |
abstract void | write_ushort(short x)
Write unsigned CORBA short that is mapped into
java short . |
abstract void | write_ushort_array(short[] x, int ofs, int len)
Write array of unsigned CORBA shorts. |
abstract void | write_wchar(char x)
Write CORBA wchar that is mapped into
java char . |
abstract void | write_wchar_array(char[] chars, int offset, int length)
Write array of CORBA wchars. |
abstract void | write_wstring(String x)
Write CORBA wstring that is mapped into
java string . |
Returns: an input stream
Returns: the ORB. This must be overridden, as the default method always returns null.
Parameters: n an integer to write.
Throws: NO_IMPLEMENT, always. IOException in overriden methods.
Any
.boolean
.booelan[]
.char
.char[]
.Throws: NO_IMPLEMENT, always.
double
.double[]
.Parameters: fixed a number to write
Throws: NO_IMPLEMENT, always.
float
.float[]
.long
that is mapped into java int
.long long
that is mapped into
java long
.long long []
.long[]
.octed
that is mapped into java byte
octet[]
.Deprecated: by CORBA 2.2
Should write a principal to the output stream, but, following specification, it does not and must be overridden to get a functionality.Parameters: principal a Principal to write
Throws: NO_IMPLEMENT, always.
short
.short[]
.string
.long
that is mapped into
java int
.long long
that is mapped into
java long
.short
that is mapped into
java short
.wchar
that is mapped into
java char
.wstring
that is mapped into
java string
.