FileDocCategorySizeDatePackage
SimpleServer.javaAPI DocExample674Thu Nov 08 00:23:46 GMT 2001com.ora.rmibook.chapter3.applications

SimpleServer

public class SimpleServer extends Object

Fields Summary
Constructors Summary
Methods Summary
public static voidmain(java.lang.String[] args)

        try {
            File logfile = new File("C:\\temp\\serverLogfile");
            OutputStream outputStream = new FileOutputStream(logfile);
            Printer printer = new NullPrinter(outputStream);
            ServerNetworkWrapper serverNetworkWrapper = new ServerNetworkWrapper(printer);

            serverNetworkWrapper.accept();
        } catch (Exception e) {
            e.printStackTrace();
        }