equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright 2003 Sun Microsystems, Inc. All Rights Reserved. |
2 * Copyright 2003 Sun Microsystems, Inc. All Rights Reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
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 |
6 * under the terms of the GNU General Public License version 2 only, as |
23 |
23 |
24 import java.rmi.Remote; |
24 import java.rmi.Remote; |
25 import java.rmi.RemoteException; |
25 import java.rmi.RemoteException; |
26 |
26 |
27 /** |
27 /** |
28 * A remote factory for Orange instances. This interface also |
28 * A remote factory for Orange instances. This interface also |
29 * includes a method to test object array serialization. |
29 * includes a method to test object array serialization. |
30 */ |
30 */ |
31 public interface Apple extends Remote { |
31 public interface Apple extends Remote { |
32 void notify(AppleEvent[] e) throws RemoteException; |
32 void notify(AppleEvent[] e) throws RemoteException; |
33 Orange newOrange(String name) throws RemoteException; |
33 Orange newOrange(String name) throws RemoteException; |