FileDocCategorySizeDatePackage
MyServer.javaAPI DocExample719Mon May 01 14:41:46 BST 2000None

MyServer

public class MyServer extends UnicastRemoteObject implements RmtServer

Fields Summary
Constructors Summary
public MyServer()

 
Methods Summary
public java.lang.Objectexecute(WorkRequest work)

        return work.execute(  );
    
public java.util.DategetDate()

        return new Date(  );
    
public static voidmain(java.lang.String[] args)

        try {
            RmtServer server = new MyServer(  );
            Naming.rebind("NiftyServer", server);
        } catch (java.io.IOException e) {
            // problem registering server
        }