Interface cam.netapp.SetStreams


The SetStreams (interface) class defines the interface which "remote" classes must implement in order that they can be instantiated by a request from a NetworkConnection object. The interface is defined by

public interface SetStreams
{
public boolean setInputStream(InputStream S);
public boolean setOutputStream(OutputStream S);
}

The method setInputStream(InputStream S) should set an internal InputStream to S, and return "true" if successful.

The method setOutputStream(OutputStream S) should set an internal OutputStream to S, and return "true" if successful.


Chris Anderson © UCLA 1997