FileDocCategorySizeDatePackage
ServerObjectImpl.javaAPI DocExample1149Thu Mar 23 16:25:26 GMT 2000tuning.distrib.custom

ServerObjectImpl

public class ServerObjectImpl extends Object implements ServerObject

Fields Summary
boolean
bool
int
number
String
string
Constructors Summary
public ServerObjectImpl()

  
Methods Summary
public booleangetBoolean()

    return bool;
  
public intgetNumber()

    return number;
  
public java.lang.StringgetString()

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

    try
    {
      ServerObjectImpl serverobjectimpl = new ServerObjectImpl();
      System.out.println("Starting server");
      Generate.addServer("ServerObject", serverobjectimpl);
      Generate.runServer(20992);
      return;
    }
    catch(Exception exception)
    {
      System.out.println("ServerObj err: " + exception.getMessage());
      exception.printStackTrace();
      return;
    }
  
public voidsetAll(boolean flag, int i, java.lang.String s)

    bool = flag;
    number = i;
    string = s;
  
public voidsetBoolean(boolean flag)

    bool = flag;
  
public voidsetNumber(int i)

    number = i;
  
public voidsetString(java.lang.String s)

    string = s;