blob: 2266c32aa9d54a98f6aaf042e357215538871e0e [file] [log] [blame]
J. Duke319a3b92007-12-01 00:00:00 +00001/*
2 * Copyright 2001 Sun Microsystems, Inc. All Rights Reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation.
8 *
9 * This code is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
20 * CA 95054 USA or visit www.sun.com if you need additional information or
21 * have any questions.
22 */
23
24// Stub class generated by rmic, do not edit.
25// Contents subject to change without notice.
26
27public final class Impl1_Stub
28 extends java.rmi.server.RemoteStub
29 implements Pong
30{
31 private static final java.rmi.server.Operation[] operations = {
32 new java.rmi.server.Operation("void pong()")
33 };
34
35 private static final long interfaceHash = -6081108852319377105L;
36
37 // constructors
38 public Impl1_Stub() {
39 super();
40 }
41 public Impl1_Stub(java.rmi.server.RemoteRef ref) {
42 super(ref);
43 }
44
45 // methods from remote interfaces
46
47 // implementation of pong()
48 public void pong()
49 throws PongException, java.rmi.RemoteException
50 {
51 try {
52 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject) this, operations, 0, interfaceHash);
53 ref.invoke(call);
54 ref.done(call);
55 } catch (java.lang.RuntimeException e) {
56 throw e;
57 } catch (java.rmi.RemoteException e) {
58 throw e;
59 } catch (PongException e) {
60 throw e;
61 } catch (java.lang.Exception e) {
62 throw new java.rmi.UnexpectedException("undeclared checked exception", e);
63 }
64 }
65}