|
1 /* |
|
2 * Copyright 1998-2000 Sun Microsystems, Inc. All Rights Reserved. |
|
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
|
4 * |
|
5 * This code is free software; you can redistribute it and/or modify it |
|
6 * under the terms of the GNU General Public License version 2 only, as |
|
7 * published by the Free Software Foundation. Sun designates this |
|
8 * particular file as subject to the "Classpath" exception as provided |
|
9 * 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 * InputStream provides for the reading of all of the mapped IDL types |
|
36 * from the stream. It extends org.omg.CORBA.portable.InputStream. This |
|
37 * class defines new methods that were added for CORBA 2.3. |
|
38 * |
|
39 * @see org.omg.CORBA.portable.InputStream |
|
40 * @author OMG |
|
41 * @since JDK1.2 |
|
42 */ |
|
43 |
|
44 public abstract class InputStream extends org.omg.CORBA.portable.InputStream { |
|
45 |
|
46 /** |
|
47 * Unmarshalls a value type from the input stream. |
|
48 * @return the value type unmarshalled from the input stream |
|
49 */ |
|
50 public java.io.Serializable read_value() { |
|
51 throw new org.omg.CORBA.NO_IMPLEMENT(); |
|
52 } |
|
53 |
|
54 /** |
|
55 * Unmarshalls a value type from the input stream. |
|
56 * @param clz is the declared type of the value to be unmarshalled |
|
57 * @return the value unmarshalled from the input stream |
|
58 */ |
|
59 public java.io.Serializable read_value(java.lang.Class clz) { |
|
60 throw new org.omg.CORBA.NO_IMPLEMENT(); |
|
61 } |
|
62 |
|
63 /** |
|
64 * Unmarshalls a value type from the input stream. |
|
65 * @param factory is the instance fo the helper to be used for |
|
66 * unmarshalling the value type |
|
67 * @return the value unmarshalled from the input stream |
|
68 */ |
|
69 public java.io.Serializable read_value(org.omg.CORBA.portable.BoxedValueHelper factory) { |
|
70 throw new org.omg.CORBA.NO_IMPLEMENT(); |
|
71 } |
|
72 |
|
73 /** |
|
74 * Unmarshalls a value type from the input stream. |
|
75 * @param rep_id identifies the type of the value to be unmarshalled |
|
76 * @return value type unmarshalled from the input stream |
|
77 */ |
|
78 public java.io.Serializable read_value(java.lang.String rep_id) { |
|
79 throw new org.omg.CORBA.NO_IMPLEMENT(); |
|
80 } |
|
81 |
|
82 /** |
|
83 * Unmarshalls a value type from the input stream. |
|
84 * @param value is an uninitialized value which is added to the orb's |
|
85 * indirection table before calling Streamable._read() or |
|
86 * CustomMarshal.unmarshal() to unmarshal the value. |
|
87 * @return value type unmarshalled from the input stream |
|
88 */ |
|
89 public java.io.Serializable read_value(java.io.Serializable value) { |
|
90 throw new org.omg.CORBA.NO_IMPLEMENT(); |
|
91 } |
|
92 |
|
93 /** |
|
94 * Unmarshal the value object or a suitable stub object. |
|
95 * @return ORB runtime returns the value object or a suitable stub object. |
|
96 */ |
|
97 public java.lang.Object read_abstract_interface() { |
|
98 throw new org.omg.CORBA.NO_IMPLEMENT(); |
|
99 } |
|
100 |
|
101 /** |
|
102 * Unmarshal the class object or the stub class corresponding to the passed type. |
|
103 * @param clz is the Class object for the stub class which corresponds to |
|
104 * the type that is statically expected. |
|
105 * @return ORB runtime returns the value object or a suitable stub object. |
|
106 */ |
|
107 public java.lang.Object read_abstract_interface(java.lang.Class clz) { |
|
108 throw new org.omg.CORBA.NO_IMPLEMENT(); |
|
109 } |
|
110 |
|
111 } |