Class SwitchApp

java.lang.Object
cl.netswitch.app.SwitchApp

public final class SwitchApp extends Object
The NetSwitch Server startup class.
  • Constructor Details

    • SwitchApp

      public SwitchApp()
      Constructs a new SwitchApp instance.
  • Method Details

    • serviceRequest

      public int serviceRequest(int control)
      Executes a Windows Service control command.
      Parameters:
      control - service control command code.
    • serviceMain

      public int serviceMain(String[] args)
      Starts the execution of a Windows Service.
      Parameters:
      args - array with command line arguments.
    • main

      public static void main(String[] args)
      The NetSwitch Server startup method.
      Parameters:
      args - array with command line arguments.