001: /***** Copyright (c) 1999-2000 Object Management Group. Unlimited rights to
002: duplicate and use this code are hereby granted provided that this
003: copyright notice is included.
004: *****/package org.omg.CORBA.portable;
005:
006: public abstract class OutputStream extends java.io.OutputStream {
007:
008: public void write(int b) throws java.io.IOException {
009: throw new org.omg.CORBA.NO_IMPLEMENT();
010: }
011:
012: public org.omg.CORBA.ORB orb() {
013: throw new org.omg.CORBA.NO_IMPLEMENT();
014: }
015:
016: public abstract InputStream create_input_stream();
017:
018: public abstract void write_boolean(boolean value);
019:
020: public abstract void write_char(char value);
021:
022: public abstract void write_wchar(char value);
023:
024: public abstract void write_octet(byte value);
025:
026: public abstract void write_short(short value);
027:
028: public abstract void write_ushort(short value);
029:
030: public abstract void write_long(int value);
031:
032: public abstract void write_ulong(int value);
033:
034: public abstract void write_longlong(long value);
035:
036: public abstract void write_ulonglong(long value);
037:
038: public abstract void write_float(float value);
039:
040: public abstract void write_double(double value);
041:
042: public abstract void write_string(String value);
043:
044: public abstract void write_wstring(String value);
045:
046: public abstract void write_boolean_array(boolean[] value,
047: int offset, int length);
048:
049: public abstract void write_char_array(char[] value, int offset,
050: int length);
051:
052: public abstract void write_wchar_array(char[] value, int offset,
053: int length);
054:
055: public abstract void write_octet_array(byte[] value, int offset,
056: int length);
057:
058: public abstract void write_short_array(short[] value, int offset,
059: int length);
060:
061: public abstract void write_ushort_array(short[] value, int offset,
062: int length);
063:
064: public abstract void write_long_array(int[] value, int offset,
065: int length);
066:
067: public abstract void write_ulong_array(int[] value, int offset,
068: int length);
069:
070: public abstract void write_longlong_array(long[] value, int offset,
071: int length);
072:
073: public abstract void write_ulonglong_array(long[] value,
074: int offset, int length);
075:
076: public abstract void write_float_array(float[] value, int offset,
077: int length);
078:
079: public abstract void write_double_array(double[] value, int offset,
080: int length);
081:
082: public abstract void write_Object(org.omg.CORBA.Object value);
083:
084: public abstract void write_TypeCode(org.omg.CORBA.TypeCode value);
085:
086: public abstract void write_any(org.omg.CORBA.Any value);
087:
088: public void write_Context(org.omg.CORBA.Context ctx,
089: org.omg.CORBA.ContextList contexts) {
090: throw new org.omg.CORBA.NO_IMPLEMENT();
091: }
092:
093: /**
094: * @deprecated Deprecated by CORBA 2.2
095: */
096: public void write_Principal(org.omg.CORBA.Principal value) {
097: throw new org.omg.CORBA.NO_IMPLEMENT();
098: }
099:
100: /**
101: * @deprecated Deprecated by CORBA 2.4
102: */
103: public void write_fixed(java.math.BigDecimal value) {
104: throw new org.omg.CORBA.NO_IMPLEMENT();
105: }
106:
107: public void write_fixed(java.math.BigDecimal value, short digits,
108: short scale) {
109: throw new org.omg.CORBA.NO_IMPLEMENT();
110: }
111:
112: }
|