java.lang.Object
cl.netswitch.app.SwitchApp
The NetSwitch Server startup class.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
The NetSwitch Server startup method.int
serviceMain
(String[] args) Starts the execution of a Windows Service.int
serviceRequest
(int control) Executes a Windows Service control command.
-
Constructor Details
-
SwitchApp
public SwitchApp()Constructs a newSwitchApp
instance.
-
-
Method Details
-
serviceRequest
public int serviceRequest(int control) Executes a Windows Service control command.- Parameters:
control
- service control command code.
-
serviceMain
Starts the execution of a Windows Service.- Parameters:
args
- array with command line arguments.
-
main
The NetSwitch Server startup method.- Parameters:
args
- array with command line arguments.
-