Space Engineers
Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Properties | List of all members
VRage.Service.MyServiceBase Class Reference
Inheritance diagram for VRage.Service.MyServiceBase:
VRage.Dedicated.WindowsService

Public Member Functions

 MyServiceBase ()
 
unsafe void RequestAdditionalTime (int milliseconds)
 
void Stop ()
 
unsafe void ServiceMainCallback (int argCount, IntPtr argPointer)
 

Static Public Member Functions

static void Run (MyServiceBase[] services)
 
static void Run (MyServiceBase service)
 

Public Attributes

const int MaxNameLength = 80
 

Protected Member Functions

override void Dispose (bool disposing)
 
virtual void OnContinue ()
 
virtual void OnPause ()
 
virtual bool OnPowerEvent (PowerBroadcastStatus powerStatus)
 
virtual void OnSessionChange (SessionChangeDescription changeDescription)
 
virtual void OnShutdown ()
 
virtual void OnStart (string[] args)
 
virtual void OnStop ()
 
virtual void OnCustomCommand (int command)
 

Properties

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]
 

Detailed Description

Definition at line 20 of file MyServiceBase.cs.

Constructor & Destructor Documentation

VRage.Service.MyServiceBase.MyServiceBase ( )
inline

Definition at line 231 of file MyServiceBase.cs.

Member Function Documentation

override void VRage.Service.MyServiceBase.Dispose ( bool  disposing)
inlineprotected

Definition at line 251 of file MyServiceBase.cs.

virtual void VRage.Service.MyServiceBase.OnContinue ( )
inlineprotectedvirtual

Reimplemented in VRage.Dedicated.WindowsService.

Definition at line 264 of file MyServiceBase.cs.

virtual void VRage.Service.MyServiceBase.OnCustomCommand ( int  command)
inlineprotectedvirtual

Reimplemented in VRage.Dedicated.WindowsService.

Definition at line 333 of file MyServiceBase.cs.

virtual void VRage.Service.MyServiceBase.OnPause ( )
inlineprotectedvirtual

Reimplemented in VRage.Dedicated.WindowsService.

Definition at line 268 of file MyServiceBase.cs.

virtual bool VRage.Service.MyServiceBase.OnPowerEvent ( PowerBroadcastStatus  powerStatus)
inlineprotectedvirtual

Reimplemented in VRage.Dedicated.WindowsService.

Definition at line 272 of file MyServiceBase.cs.

virtual void VRage.Service.MyServiceBase.OnSessionChange ( SessionChangeDescription  changeDescription)
inlineprotectedvirtual

Reimplemented in VRage.Dedicated.WindowsService.

Definition at line 277 of file MyServiceBase.cs.

virtual void VRage.Service.MyServiceBase.OnShutdown ( )
inlineprotectedvirtual

Reimplemented in VRage.Dedicated.WindowsService.

Definition at line 281 of file MyServiceBase.cs.

virtual void VRage.Service.MyServiceBase.OnStart ( string[]  args)
inlineprotectedvirtual

Reimplemented in VRage.Dedicated.WindowsService.

Definition at line 285 of file MyServiceBase.cs.

virtual void VRage.Service.MyServiceBase.OnStop ( )
inlineprotectedvirtual

Reimplemented in VRage.Dedicated.WindowsService.

Definition at line 289 of file MyServiceBase.cs.

unsafe void VRage.Service.MyServiceBase.RequestAdditionalTime ( int  milliseconds)
inline

Definition at line 239 of file MyServiceBase.cs.

static void VRage.Service.MyServiceBase.Run ( MyServiceBase[]  services)
inlinestatic

Definition at line 337 of file MyServiceBase.cs.

static void VRage.Service.MyServiceBase.Run ( MyServiceBase  service)
inlinestatic

Definition at line 389 of file MyServiceBase.cs.

unsafe void VRage.Service.MyServiceBase.ServiceMainCallback ( int  argCount,
IntPtr  argPointer 
)
inline

Definition at line 406 of file MyServiceBase.cs.

void VRage.Service.MyServiceBase.Stop ( )
inline

Definition at line 399 of file MyServiceBase.cs.

Member Data Documentation

const int VRage.Service.MyServiceBase.MaxNameLength = 80

Definition at line 23 of file MyServiceBase.cs.

Property Documentation

bool VRage.Service.MyServiceBase.AutoLog
getset

Definition at line 45 of file MyServiceBase.cs.

bool VRage.Service.MyServiceBase.CanHandlePowerEvent
getset

Definition at line 71 of file MyServiceBase.cs.

bool VRage.Service.MyServiceBase.CanHandleSessionChangeEvent
getset

Definition at line 90 of file MyServiceBase.cs.

bool VRage.Service.MyServiceBase.CanPauseAndContinue
getset

Definition at line 108 of file MyServiceBase.cs.

bool VRage.Service.MyServiceBase.CanShutdown
getset

Definition at line 126 of file MyServiceBase.cs.

bool VRage.Service.MyServiceBase.CanStop
getset

Definition at line 144 of file MyServiceBase.cs.

virtual EventLog VRage.Service.MyServiceBase.EventLog
get

Definition at line 163 of file MyServiceBase.cs.

int VRage.Service.MyServiceBase.ExitCode
getset

Definition at line 58 of file MyServiceBase.cs.

IntPtr VRage.Service.MyServiceBase.ServiceHandle
getprotected

Definition at line 178 of file MyServiceBase.cs.

string VRage.Service.MyServiceBase.ServiceName
getset

Definition at line 189 of file MyServiceBase.cs.

string VRage.Service.MyServiceBase.UsedServiceName
get

Definition at line 40 of file MyServiceBase.cs.


The documentation for this class was generated from the following file: