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.RemoteException
public int getInt() throws java.rmi.RemoteException
getInt
in interface RemoteInteger
java.rmi.RemoteException
public boolean equals(java.lang.Object o)
equals
in class java.rmi.server.RemoteObject