public class DateRMI extends java.rmi.server.UnicastRemoteObject implements java.rmi.Remote, java.io.Serializable, RemoteDate
Modifier and Type | Field and Description |
---|---|
private java.util.Date |
d |
Constructor and Description |
---|
DateRMI() |
private java.util.Date d
public DateRMI() throws java.rmi.RemoteException
java.rmi.RemoteException
public java.util.Date getDate() throws java.rmi.RemoteException
getDate
in interface RemoteDate
java.rmi.RemoteException
public boolean equals(java.lang.Object o)
equals
in class java.rmi.server.RemoteObject