43 |
import java.rmi.RemoteException; |
import java.rmi.RemoteException; |
44 |
import java.io.ObjectOutput; |
import java.io.ObjectOutput; |
45 |
|
|
46 |
public interface RemoteRef |
public interface RemoteRef extends Externalizable |
47 |
extends Externalizable { |
{ |
48 |
|
public static final long serialVersionUID = 0; |
49 |
|
|
50 |
|
public static final String packagePrefix = "gnu.java.rmi.server"; |
51 |
|
|
52 |
public static final long serialVersionUID = 0; |
/** |
53 |
public static final String packagePrefix = "gnu.java.rmi.server"; |
* @deprecated |
54 |
|
*/ |
55 |
public void invoke(RemoteCall call) throws Exception; |
public void invoke(RemoteCall call) throws Exception; |
56 |
public Object invoke(Remote obj, Method method, Object[] params, long opnum) throws Exception; |
|
57 |
public RemoteCall newCall(RemoteObject obj, Operation[] op, int opnum, long hash) throws RemoteException; |
public Object invoke (Remote obj, Method method, Object[] params, long opnum) |
58 |
public void done(RemoteCall call) throws RemoteException; |
throws Exception; |
59 |
public boolean remoteEquals(RemoteRef ref); |
|
60 |
public int remoteHashCode(); |
/** |
61 |
public String getRefClass(ObjectOutput out); |
* @deprecated |
62 |
public String remoteToString(); |
*/ |
63 |
|
public RemoteCall newCall (RemoteObject obj, Operation[] op, int opnum, |
64 |
|
long hash) |
65 |
|
throws RemoteException; |
66 |
|
|
67 |
|
/** |
68 |
|
* @deprecated |
69 |
|
*/ |
70 |
|
public void done (RemoteCall call) throws RemoteException; |
71 |
|
|
72 |
|
public boolean remoteEquals (RemoteRef ref); |
73 |
|
|
74 |
|
public int remoteHashCode (); |
75 |
|
|
76 |
|
public String getRefClass (ObjectOutput out); |
77 |
|
|
78 |
|
public String remoteToString (); |
79 |
} |
} |