157N/A * Copyright (c) 2002, 2006, 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 * Java to IDL ptc 02-01-12 1.5.1.5 0N/A * Returns the maximum stream format version for 0N/A * RMI/IDL custom value types that is supported 0N/A * by this ValueHandler object. The ValueHandler 0N/A * object must support the returned stream format version and 0N/A * all lower versions. 0N/A * An ORB may use this value to include in a standard 0N/A * IOR tagged component or service context to indicate to other 0N/A * ORBs the maximum RMI-IIOP stream format that it 0N/A * supports. If not included, the default for GIOP 1.2 0N/A * is stream format version 1, and stream format version 0N/A * 2 for GIOP 1.3 and higher. 0N/A * Allows the ORB to pass the stream format 0N/A * version for RMI/IDL custom value types. If the ORB 0N/A * calls this method, it must pass a stream format version 0N/A * between 1 and the value returned by the 0N/A * getMaximumStreamFormatVersion method inclusive, 0N/A * or else a BAD_PARAM exception with standard minor code 0N/A * If the ORB calls the older ValueHandler.writeValue(OutputStream, 0N/A * Serializable) method, stream format version 1 is implied. 0N/A * The ORB output stream passed to the ValueHandlerMultiFormat.writeValue 0N/A * method must implement the ValueOutputStream interface, and the 0N/A * ORB input stream passed to the ValueHandler.readValue method must 0N/A * implement the ValueInputStream interface.