Property | Type | Description | |
---|---|---|---|
TempFolder | string |
Method | Description | |
---|---|---|
WaveBoxService ( ) : System |
Constructor for WaveBox service. Initializes the service and sets up the graceful shutdown
|
Method | Description | |
---|---|---|
OnContinue ( ) : void |
OnContinue does nothing yet
|
|
OnPause ( ) : void |
OnPause does nothing yet
|
|
OnShutdown ( ) : void |
OnShutdown does nothing yet
|
|
OnStart ( ) : void |
OnStart launches the init thread with the WaveBox Start() function
|
|
OnStart ( string args ) : void |
Override for OnStart from base service class. We don't need CLI args, so we just call our own
|
|
OnStop ( ) : void |
OnStop stops the service, aborting the init thread, and terminating the program. This replaces the ShutdownCommon function, as this will be the exit of the program.
|
Method | Description | |
---|---|---|
InjectClasses ( ) : void |
Perform dependency injection for all other classes in WaveBox
|
|
InjectPlatformSpecificClasses ( ) : void |
Perform dependency injection for all classes which have platform-specific implementations
|
|
Main ( string args ) : void |
Service entry point. Starts the WaveBox Service, which will then launch the application
|
|
RegisterShutdownHandler ( ) : void |
Function to register shutdown handler for various platforms. Windows uses its own, while UNIX variants use a specialized Unix shutdown handler.
|
|
SetConsoleCtrlHandler ( EventHandler handler, bool add ) : bool | ||
ShutdownUnix ( ) : void |
Shutdown handler for UNIX systems, terminates WaveBox gracefully.
|
|
ShutdownWindows ( CtrlType sig ) : bool |