Path: blob/aarch64-shenandoah-jdk8u272-b10/jdk/src/share/classes/sun/rmi/rmic/RMIConstants.java
38831 views
/*1* Copyright (c) 1998, 2007, Oracle and/or its affiliates. All rights reserved.2* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.3*4* This code is free software; you can redistribute it and/or modify it5* under the terms of the GNU General Public License version 2 only, as6* published by the Free Software Foundation. Oracle designates this7* particular file as subject to the "Classpath" exception as provided8* by Oracle in the LICENSE file that accompanied this code.9*10* This code is distributed in the hope that it will be useful, but WITHOUT11* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or12* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License13* version 2 for more details (a copy is included in the LICENSE file that14* accompanied this code).15*16* You should have received a copy of the GNU General Public License version17* 2 along with this work; if not, write to the Free Software Foundation,18* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.19*20* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA21* or visit www.oracle.com if you need additional information or have any22* questions.23*/2425/*26* Licensed Materials - Property of IBM27* RMI-IIOP v1.028* Copyright IBM Corp. 1998 1999 All Rights Reserved29*30*/3132package sun.rmi.rmic;3334import sun.tools.java.Identifier;3536/**37* WARNING: The contents of this source file are not part of any38* supported API. Code that depends on them does so at its own risk:39* they are subject to change or removal without notice.40*/41public interface RMIConstants extends sun.rmi.rmic.Constants {4243/*44* identifiers for RMI classes referenced by rmic45*/46public static final Identifier idRemoteObject =47Identifier.lookup("java.rmi.server.RemoteObject");48public static final Identifier idRemoteStub =49Identifier.lookup("java.rmi.server.RemoteStub");50public static final Identifier idRemoteRef =51Identifier.lookup("java.rmi.server.RemoteRef");52public static final Identifier idOperation =53Identifier.lookup("java.rmi.server.Operation");54public static final Identifier idSkeleton =55Identifier.lookup("java.rmi.server.Skeleton");56public static final Identifier idSkeletonMismatchException =57Identifier.lookup("java.rmi.server.SkeletonMismatchException");58public static final Identifier idRemoteCall =59Identifier.lookup("java.rmi.server.RemoteCall");60public static final Identifier idMarshalException =61Identifier.lookup("java.rmi.MarshalException");62public static final Identifier idUnmarshalException =63Identifier.lookup("java.rmi.UnmarshalException");64public static final Identifier idUnexpectedException =65Identifier.lookup("java.rmi.UnexpectedException");6667/*68* stub protocol versions69*/70public static final int STUB_VERSION_1_1 = 1;71public static final int STUB_VERSION_FAT = 2;72public static final int STUB_VERSION_1_2 = 3;7374/** serialVersionUID for all stubs that can use 1.2 protocol */75public static final long STUB_SERIAL_VERSION_UID = 2;7677/** version number used to seed interface hash computation */78public static final int INTERFACE_HASH_STUB_VERSION = 1;79}808182