FileDocCategorySizeDatePackage
RemoteDateImpl.javaAPI DocExample581Fri Sep 01 14:24:14 BST 2000darwinsys.distdate

RemoteDateImpl

public class RemoteDateImpl extends UnicastRemoteObject implements RemoteDate

Fields Summary
Constructors Summary
public RemoteDateImpl()
Construct the object that implements the remote server. Called from main, after it has the SecurityManager in place.

		super();	// sets up networking
	
Methods Summary
public java.util.DategetRemoteDate()
The remote method that "does all the work". This won't get called until the client starts up.

		return new Date();