FileDocCategorySizeDatePackage
GenericServerObject.javaAPI DocExample503Thu Mar 23 18:07:34 GMT 2000tuning.distrib.custom

GenericServerObject.java

package tuning.distrib.custom;

import java.net.Socket;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;

public interface GenericServerObject
{
  public void setRealServerObject(Object server);
  public void setSocket(Socket client) throws IOException;
  public void setSocket(Socket client, ObjectInputStream in, ObjectOutputStream out) throws IOException;
  public void serviceRequest() throws IOException;
  public void setId(int i);
}