01: /*
02: * Copyright 1998-2000 Sun Microsystems, Inc. All Rights Reserved.
03: * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
04: *
05: * This code is free software; you can redistribute it and/or modify it
06: * under the terms of the GNU General Public License version 2 only, as
07: * published by the Free Software Foundation. Sun designates this
08: * particular file as subject to the "Classpath" exception as provided
09: * by Sun in the LICENSE file that accompanied this code.
10: *
11: * This code is distributed in the hope that it will be useful, but WITHOUT
12: * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13: * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14: * version 2 for more details (a copy is included in the LICENSE file that
15: * accompanied this code).
16: *
17: * You should have received a copy of the GNU General Public License version
18: * 2 along with this work; if not, write to the Free Software Foundation,
19: * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20: *
21: * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
22: * CA 95054 USA or visit www.sun.com if you need additional information or
23: * have any questions.
24: */
25: /*
26: * Licensed Materials - Property of IBM
27: * RMI-IIOP v1.0
28: * Copyright IBM Corp. 1998 1999 All Rights Reserved
29: *
30: */
31:
32: package org.omg.CORBA_2_3.portable;
33:
34: /**
35: * OutputStream provides interface for writing of all of the mapped IDL type
36: * to the stream. It extends org.omg.CORBA.portable.OutputStream, and defines
37: * new methods defined by CORBA 2.3.
38: *
39: * @see org.omg.CORBA.portable.OutputStream
40: * @author OMG
41: * @version 1.24 05/05/07
42: * @since JDK1.2
43: */
44:
45: public abstract class OutputStream extends
46: org.omg.CORBA.portable.OutputStream {
47:
48: /**
49: * Marshals a value type to the output stream.
50: * @param value is the acutal value to write
51: */
52: public void write_value(java.io.Serializable value) {
53: throw new org.omg.CORBA.NO_IMPLEMENT();
54: }
55:
56: /**
57: * Marshals a value type to the output stream.
58: * @param value is the acutal value to write
59: * @param clz is the declared type of the value to be marshaled
60: */
61: public void write_value(java.io.Serializable value,
62: java.lang.Class clz) {
63: throw new org.omg.CORBA.NO_IMPLEMENT();
64: }
65:
66: /**
67: * Marshals a value type to the output stream.
68: * @param value is the acutal value to write
69: * @param repository_id identifies the type of the value type to
70: * be marshaled
71: */
72: public void write_value(java.io.Serializable value,
73: String repository_id) {
74: throw new org.omg.CORBA.NO_IMPLEMENT();
75: }
76:
77: /**
78: * Marshals a value type to the output stream.
79: * @param value is the acutal value to write
80: * @param factory is the instance of the helper to be used for marshaling
81: * the boxed value
82: */
83: public void write_value(java.io.Serializable value,
84: org.omg.CORBA.portable.BoxedValueHelper factory) {
85: throw new org.omg.CORBA.NO_IMPLEMENT();
86: }
87:
88: /**
89: * Marshals a value object or a stub object.
90: * @param obj the actual value object to marshal or the stub to be marshalled
91: */
92: public void write_abstract_interface(java.lang.Object obj) {
93: throw new org.omg.CORBA.NO_IMPLEMENT();
94: }
95:
96: }
|