322N/A * Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved. 0N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 0N/A * This code is free software; you can redistribute it and/or modify it 0N/A * under the terms of the GNU General Public License version 2 only, as 157N/A * published by the Free Software Foundation. Oracle designates this 0N/A * particular file as subject to the "Classpath" exception as provided 157N/A * by Oracle in the LICENSE file that accompanied this code. 0N/A * This code is distributed in the hope that it will be useful, but WITHOUT 0N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 0N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 0N/A * version 2 for more details (a copy is included in the LICENSE file that 0N/A * accompanied this code). 0N/A * You should have received a copy of the GNU General Public License version 0N/A * 2 along with this work; if not, write to the Free Software Foundation, 0N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 157N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 157N/A * or visit www.oracle.com if you need additional information or have any 0N/A * This is delegates to the real implementation. 0N/A * Before using the stream for valuetype unmarshaling, one must call 0N/A * performORBVersionSpecificInit(). 0N/A // We can move this out somewhere later. For now, it serves its purpose 0N/A // to create a concrete CDR delegate based on the GIOP version. 0N/A // else fall through and report exception. 0N/A // Required for the case when a ClientResponseImpl is 0N/A // connection with no warning. Note that the stream will 0N/A // not be initialized in this case. 0N/A // Probably also required by ServerRequestImpl. 0N/A // org.omg.CORBA.portable.InputStream 0N/A // org.omg.CORBA_2_3.portable.InputStream 0N/A // com.sun.corba.se.impl.encoding.MarshalInputStream 0N/A // org.omg.CORBA.DataInputStream 0N/A // org.omg.CORBA.portable.ValueBase 0N/A // java.io.InputStream 0N/A // Needed by TCUtility 0N/A // This should be overridden by any stream (ex: IIOPInputStream) 0N/A // which wants to read values. Thus, TypeCodeInputStream doesn't 0N/A // Use Latin-1 for GIOP 1.0 or when code set negotiation was not 0N/A // Subclasses must decide what to do here. It's inconvenient to 0N/A // make the class and this method abstract because of dup(). 0N/A // Prints the current buffer in a human readable form 0N/A * Aligns the current position on the given octet boundary 0N/A * if there are enough bytes available to do so. Otherwise, 0N/A * it just returns. This is used for some (but not all) 0N/A * GIOP 1.2 message headers. 0N/A // Needed by request and reply messages for GIOP versions >= 1.2 only. 0N/A * This must be called after determining the proper ORB version, 0N/A * and setting it on the stream's ORB instance. It can be called 0N/A * after reading the service contexts, since that is the only place 0N/A * we can get the ORB version info. 0N/A * Trying to unmarshal things requiring repository IDs before calling 0N/A * this will result in NullPtrExceptions. 0N/A // In the case of SystemExceptions, a stream is created 0N/A // with its default constructor (and thus no impl is set). 0N/A * Resets any internal references to code set converters. 0N/A * This is useful for forcing the CDR stream to reacquire 0N/A * converters (probably from its subclasses) when state 0N/A // ValueInputStream -----------------------------