Class SwitchApp
java.lang.Object
cl.netswitch.app.SwitchApp
The NetSwitch Server startup class.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidThe NetSwitch Server startup method.intserviceMain(String[] args) Starts the execution of a Windows Service.intserviceRequest(int control) Executes a Windows Service control command.
-
Constructor Details
-
SwitchApp
public SwitchApp()Constructs a newSwitchAppinstance.
-
-
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.
-