001: /*
002: * Copyright 1998-2000 Sun Microsystems, Inc. All Rights Reserved.
003: * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
004: *
005: * This code is free software; you can redistribute it and/or modify it
006: * under the terms of the GNU General Public License version 2 only, as
007: * published by the Free Software Foundation. Sun designates this
008: * particular file as subject to the "Classpath" exception as provided
009: * by Sun in the LICENSE file that accompanied this code.
010: *
011: * This code is distributed in the hope that it will be useful, but WITHOUT
012: * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
013: * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
014: * version 2 for more details (a copy is included in the LICENSE file that
015: * accompanied this code).
016: *
017: * You should have received a copy of the GNU General Public License version
018: * 2 along with this work; if not, write to the Free Software Foundation,
019: * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
020: *
021: * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
022: * CA 95054 USA or visit www.sun.com if you need additional information or
023: * have any questions.
024: */
025: /*
026: * Licensed Materials - Property of IBM
027: * RMI-IIOP v1.0
028: * Copyright IBM Corp. 1998 1999 All Rights Reserved
029: *
030: */
031:
032: package org.omg.CORBA_2_3.portable;
033:
034: /**
035: * InputStream provides for the reading of all of the mapped IDL types
036: * from the stream. It extends org.omg.CORBA.portable.InputStream. This
037: * class defines new methods that were added for CORBA 2.3.
038: *
039: * @see org.omg.CORBA.portable.InputStream
040: * @author OMG
041: * @version 1.22 05/05/07
042: * @since JDK1.2
043: */
044:
045: public abstract class InputStream extends
046: org.omg.CORBA.portable.InputStream {
047:
048: /**
049: * Unmarshalls a value type from the input stream.
050: * @return the value type unmarshalled from the input stream
051: */
052: public java.io.Serializable read_value() {
053: throw new org.omg.CORBA.NO_IMPLEMENT();
054: }
055:
056: /**
057: * Unmarshalls a value type from the input stream.
058: * @param clz is the declared type of the value to be unmarshalled
059: * @return the value unmarshalled from the input stream
060: */
061: public java.io.Serializable read_value(java.lang.Class clz) {
062: throw new org.omg.CORBA.NO_IMPLEMENT();
063: }
064:
065: /**
066: * Unmarshalls a value type from the input stream.
067: * @param factory is the instance fo the helper to be used for
068: * unmarshalling the value type
069: * @return the value unmarshalled from the input stream
070: */
071: public java.io.Serializable read_value(
072: org.omg.CORBA.portable.BoxedValueHelper factory) {
073: throw new org.omg.CORBA.NO_IMPLEMENT();
074: }
075:
076: /**
077: * Unmarshalls a value type from the input stream.
078: * @param rep_id identifies the type of the value to be unmarshalled
079: * @return value type unmarshalled from the input stream
080: */
081: public java.io.Serializable read_value(java.lang.String rep_id) {
082: throw new org.omg.CORBA.NO_IMPLEMENT();
083: }
084:
085: /**
086: * Unmarshalls a value type from the input stream.
087: * @param value is an uninitialized value which is added to the orb's
088: * indirection table before calling Streamable._read() or
089: * CustomMarshal.unmarshal() to unmarshal the value.
090: * @return value type unmarshalled from the input stream
091: */
092: public java.io.Serializable read_value(java.io.Serializable value) {
093: throw new org.omg.CORBA.NO_IMPLEMENT();
094: }
095:
096: /**
097: * Unmarshal the value object or a suitable stub object.
098: * @return ORB runtime returns the value object or a suitable stub object.
099: */
100: public java.lang.Object read_abstract_interface() {
101: throw new org.omg.CORBA.NO_IMPLEMENT();
102: }
103:
104: /**
105: * Unmarshal the class object or the stub class corresponding to the passed type.
106: * @param clz is the Class object for the stub class which corresponds to
107: * the type that is statically expected.
108: * @return ORB runtime returns the value object or a suitable stub object.
109: */
110: public java.lang.Object read_abstract_interface(java.lang.Class clz) {
111: throw new org.omg.CORBA.NO_IMPLEMENT();
112: }
113:
114: }
|