FileDocCategorySizeDatePackage
RemoteDate.javaAPI DocExample424Fri Sep 01 14:24:14 BST 2000darwinsys.distdate

RemoteDate.java

package darwinsys.distdate;

import java.rmi.*;
import java.util.Date;

/** A statement of what the client & server must agree upon. */
public interface RemoteDate extends java.rmi.Remote {

	/** The method used to get the current date on the remote */
	public Date getRemoteDate() throws java.rmi.RemoteException;

	/** The name used in the RMI registry service. */
	public final static String LOOKUPNAME = "RemoteDate";
}