2015-06-01 11:35:03 -07:00
|
|
|
|
//: remote/PerfectTimeImpl.java
|
2015-06-02 11:55:14 -07:00
|
|
|
|
// <20>2015 MindView LLC: see Copyright.txt
|
2015-06-01 11:35:03 -07:00
|
|
|
|
// The implementation of the PerfectTime
|
|
|
|
|
// remote object.
|
|
|
|
|
import java.rmi.RemoteException;
|
|
|
|
|
|
|
|
|
|
public class PerfectTimeImpl implements PerfectTime {
|
|
|
|
|
public long getPerfectTime() throws RemoteException {
|
|
|
|
|
return System.currentTimeMillis();
|
|
|
|
|
}
|
|
|
|
|
} ///:~
|