0N/A/*
0N/A * Copyright (c) 1998, Oracle and/or its affiliates. All rights reserved.
0N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
0N/A *
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
0N/A * published by the Free Software Foundation.
0N/A *
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 *
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.
0N/A *
873N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
0N/A * or visit www.oracle.com if you need additional information or have any
0N/A * questions.
0N/A */
0N/A
0N/A// Skeleton class generated by rmic, do not edit.
3231N/A// Contents subject to change without notice.
0N/A
0N/Apublic final class ForceLogSnapshot_Skel
2086N/A implements java.rmi.server.Skeleton
0N/A{
0N/A private static final java.rmi.server.Operation[] operations = {
0N/A new java.rmi.server.Operation("void crash()"),
0N/A new java.rmi.server.Operation("void ping(int, java.lang.String)")
0N/A };
0N/A
0N/A private static final long interfaceHash = -5865767584502007357L;
0N/A
0N/A public java.rmi.server.Operation[] getOperations() {
0N/A return (java.rmi.server.Operation[]) operations.clone();
0N/A }
1177N/A
0N/A public void dispatch(java.rmi.Remote obj, java.rmi.server.RemoteCall call, int opnum, long hash)
1177N/A throws java.lang.Exception
0N/A {
1177N/A if (opnum < 0) {
1400N/A if (hash == 8484760490859430950L) {
2086N/A opnum = 0;
0N/A } else if (hash == -1519179153769139224L) {
0N/A opnum = 1;
0N/A } else {
0N/A throw new java.rmi.UnmarshalException("invalid method hash");
0N/A }
0N/A } else {
0N/A if (hash != interfaceHash)
0N/A throw new java.rmi.server.SkeletonMismatchException("interface hash mismatch");
0N/A }
0N/A
0N/A ForceLogSnapshot server = (ForceLogSnapshot) obj;
0N/A switch (opnum) {
0N/A case 0: // crash()
0N/A {
1400N/A call.releaseInputStream();
1400N/A server.crash();
1400N/A try {
1400N/A call.getResultStream(true);
1400N/A } catch (java.io.IOException e) {
0N/A throw new java.rmi.MarshalException("error marshalling return", e);
0N/A }
0N/A break;
0N/A }
0N/A
0N/A case 1: // ping(int, String)
0N/A {
0N/A int $param_int_1;
0N/A java.lang.String $param_String_2;
0N/A try {
2086N/A java.io.ObjectInput in = call.getInputStream();
0N/A $param_int_1 = in.readInt();
0N/A $param_String_2 = (java.lang.String) in.readObject();
0N/A } catch (java.io.IOException e) {
0N/A throw new java.rmi.UnmarshalException("error unmarshalling arguments", e);
0N/A } catch (java.lang.ClassNotFoundException e) {
0N/A throw new java.rmi.UnmarshalException("error unmarshalling arguments", e);
0N/A } finally {
0N/A call.releaseInputStream();
0N/A }
0N/A server.ping($param_int_1, $param_String_2);
0N/A try {
0N/A call.getResultStream(true);
0N/A } catch (java.io.IOException e) {
0N/A throw new java.rmi.MarshalException("error marshalling return", e);
0N/A }
0N/A break;
0N/A }
0N/A
0N/A default:
0N/A throw new java.rmi.UnmarshalException("invalid method number");
0N/A }
0N/A }
0N/A}
0N/A