public class IntegerRMI extends java.rmi.server.UnicastRemoteObject implements java.rmi.Remote, java.io.Serializable, RemoteInteger
| Modifier and Type | Field and Description |
|---|---|
private int |
i |
| Constructor and Description |
|---|
IntegerRMI() |
private int i
public IntegerRMI() throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic int getInt() throws java.rmi.RemoteException
getInt in interface RemoteIntegerjava.rmi.RemoteExceptionpublic boolean equals(java.lang.Object o)
equals in class java.rmi.server.RemoteObject