// FooRemote.java
// The interface exposed by the FooServer -- the client
// sends these on the client end, and they happen on the server
// end.

import java.rmi.*;
import java.rmi.server.*;

public interface FooRemote extends java.rmi.Remote {
	// Run the doit() operation on the server
	public String[] doit() throws RemoteException;
	
	// Send a pipe over to the server
	public void install(PipeRemote pipe) throws RemoteException;
	
	public static final String SERVICE = "nickFoo";
}
