|
Space Engineers
|
Public Member Functions | |
| WindowsService () | |
| Public Constructor for WindowsService. More... | |
Public Member Functions inherited from VRage.Service.MyServiceBase | |
| MyServiceBase () | |
| unsafe void | RequestAdditionalTime (int milliseconds) |
| void | Stop () |
| unsafe void | ServiceMainCallback (int argCount, IntPtr argPointer) |
Protected Member Functions | |
| override void | Dispose (bool disposing) |
| Dispose of objects that need it here. More... | |
| override void | OnStart (string[] args) |
| OnStart(): Put startup code here More... | |
| override void | OnStop () |
| OnStop(): Put your stop code here More... | |
| override void | OnPause () |
| OnPause: Put your pause code here More... | |
| override void | OnContinue () |
| OnContinue(): Put your continue code here More... | |
| override void | OnShutdown () |
| OnShutdown(): Called when the System is shutting down More... | |
| override void | OnCustomCommand (int command) |
| OnCustomCommand(): If you need to send a command to your service without the need for Remoting or Sockets, use this method to do custom methods. More... | |
| override bool | OnPowerEvent (PowerBroadcastStatus powerStatus) |
| OnPowerEvent(): Useful for detecting power status changes, such as going into Suspend mode or Low Battery for laptops. More... | |
| override void | OnSessionChange (SessionChangeDescription changeDescription) |
| OnSessionChange(): To handle a change event from a Terminal Server session. Useful if you need to determine when a user logs in remotely or logs off, or when someone logs into the console. More... | |
Protected Member Functions inherited from VRage.Service.MyServiceBase | |
| override void | Dispose (bool disposing) |
Additional Inherited Members | |
Static Public Member Functions inherited from VRage.Service.MyServiceBase | |
| static void | Run (MyServiceBase[] services) |
| static void | Run (MyServiceBase service) |
Public Attributes inherited from VRage.Service.MyServiceBase | |
| const int | MaxNameLength = 80 |
Properties inherited from VRage.Service.MyServiceBase | |
| string | UsedServiceName [get] |
| bool | AutoLog [get, set] |
| int | ExitCode [get, set] |
| bool | CanHandlePowerEvent [get, set] |
| bool | CanHandleSessionChangeEvent [get, set] |
| bool | CanPauseAndContinue [get, set] |
| bool | CanShutdown [get, set] |
| bool | CanStop [get, set] |
| virtual EventLog | EventLog [get] |
| IntPtr | ServiceHandle [get] |
| string | ServiceName [get, set] |
Definition at line 16 of file WindowsService.cs.
|
inline |
Public Constructor for WindowsService.
Definition at line 25 of file WindowsService.cs.
|
inlineprotected |
Dispose of objects that need it here.
| disposing | Whether or not disposing is going on. |
Definition at line 50 of file WindowsService.cs.
|
inlineprotectedvirtual |
OnContinue(): Put your continue code here
Reimplemented from VRage.Service.MyServiceBase.
Definition at line 112 of file WindowsService.cs.
|
inlineprotectedvirtual |
OnCustomCommand(): If you need to send a command to your service without the need for Remoting or Sockets, use this method to do custom methods.
| command | Arbitrary Integer between 128 & 256 |
Reimplemented from VRage.Service.MyServiceBase.
Definition at line 134 of file WindowsService.cs.
|
inlineprotectedvirtual |
OnPause: Put your pause code here
Reimplemented from VRage.Service.MyServiceBase.
Definition at line 103 of file WindowsService.cs.
|
inlineprotectedvirtual |
OnPowerEvent(): Useful for detecting power status changes, such as going into Suspend mode or Low Battery for laptops.
| powerStatus | The Power Broadcast Status (BatteryLow, Suspend, etc.) |
Reimplemented from VRage.Service.MyServiceBase.
Definition at line 150 of file WindowsService.cs.
|
inlineprotectedvirtual |
OnSessionChange(): To handle a change event from a Terminal Server session. Useful if you need to determine when a user logs in remotely or logs off, or when someone logs into the console.
| changeDescription | The Session Change Event that occured. |
Reimplemented from VRage.Service.MyServiceBase.
Definition at line 164 of file WindowsService.cs.
|
inlineprotectedvirtual |
OnShutdown(): Called when the System is shutting down
Reimplemented from VRage.Service.MyServiceBase.
Definition at line 123 of file WindowsService.cs.
|
inlineprotectedvirtual |
OnStart(): Put startup code here
| args |
Reimplemented from VRage.Service.MyServiceBase.
Definition at line 60 of file WindowsService.cs.
|
inlineprotectedvirtual |
OnStop(): Put your stop code here
Reimplemented from VRage.Service.MyServiceBase.
Definition at line 87 of file WindowsService.cs.
1.8.8