package testRMI;

import java.util.Date;
import java.rmi.RemoteException;
import java.rmi.server.UnicastRemoteObject;

public class SecondImpl extends UnicastRemoteObject implements Second {
	private static final long serialVersionUID = 1L;

	public SecondImpl() throws RemoteException {
	};

	public long getMilliSeconds() throws RemoteException {
		long msec = new Date().getTime();
		System.out.println("$> " + msec);
		return (msec);
	};
}