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 *****/
005
006 package org.omg.CORBA.portable;
007
008 public abstract class OutputStream extends java.io.OutputStream {
009
010 public void write(int b) throws java.io.IOException {
011 throw new org.omg.CORBA.NO_IMPLEMENT();
012 }
013
014 public org.omg.CORBA.ORB orb() {
015 throw new org.omg.CORBA.NO_IMPLEMENT();
016 }
017
018 public abstract InputStream create_input_stream();
019
020 public abstract void write_boolean (boolean value);
021 public abstract void write_char (char value);
022 public abstract void write_wchar (char value);
023 public abstract void write_octet (byte value);
024 public abstract void write_short (short value);
025 public abstract void write_ushort (short value);
026 public abstract void write_long (int value);
027 public abstract void write_ulong (int value);
028 public abstract void write_longlong (long value);
029 public abstract void write_ulonglong (long value);
030 public abstract void write_float (float value);
031 public abstract void write_double (double value);
032 public abstract void write_string (String value);
033 public abstract void write_wstring (String value);
034
035
036 public abstract void write_boolean_array(
037 boolean[] value, int offset, int length);
038 public abstract void write_char_array(
039 char[] value, int offset, int length);
040 public abstract void write_wchar_array(
041 char[] value, int offset, int length);
042 public abstract void write_octet_array(
043 byte[] value, int offset, int length);
044 public abstract void write_short_array(
045 short[] value, int offset, int length);
046 public abstract void write_ushort_array(
047 short[] value, int offset, int length);
048 public abstract void write_long_array(int[] value, int offset, int length);
049 public abstract void write_ulong_array(
050 int[] value, int offset, int length);
051 public abstract void write_longlong_array(
052 long[] value, int offset, int length);
053 public abstract void write_ulonglong_array(
054 long[] value, int offset, int length);
055 public abstract void write_float_array(
056 float[] value, int offset, int length);
057 public abstract void write_double_array(
058 double[] value, int offset, int length);
059
060 public abstract void write_Object(org.omg.CORBA.Object value);
061 public abstract void write_TypeCode(org.omg.CORBA.TypeCode value);
062 public abstract void write_any(org.omg.CORBA.Any value);
063
064 public void write_Context(org.omg.CORBA.Context ctx,
065 org.omg.CORBA.ContextList contexts) {
066 throw new org.omg.CORBA.NO_IMPLEMENT();
067 }
068
069 /**
070 * @deprecated Deprecated by CORBA 2.2
071 */
072 public void write_Principal (org.omg.CORBA.Principal value) {
073 throw new org.omg.CORBA.NO_IMPLEMENT();
074 }
075
076 /**
077 * @deprecated Deprecated by CORBA 2.4
078 */
079 public void write_fixed(java.math.BigDecimal value) {
080 throw new org.omg.CORBA.NO_IMPLEMENT();
081 }
082
083 public void write_fixed(
084 java.math.BigDecimal value, short digits, short scale) {
085 throw new org.omg.CORBA.NO_IMPLEMENT();
086 }
087
088 }
089