C# Class AppMetrics.AgentService.AgentServiceClass

Inheritance: System.ServiceProcess.ServiceBase
Datei anzeigen Open project: fandrei/AppMetrics Class Usage Examples

Public Methods

Method Description
AgentServiceClass ( ) : System
Start ( ) : void

Protected Methods

Method Description
OnStart ( string args ) : void
OnStop ( ) : void

Private Methods

Method Description
ApplyUpdates ( ) : void
EnsurePluginStarted ( PluginInfo plugin ) : void
EnsurePluginsStarted ( ) : void
EnsurePluginsStopped ( ) : void
FindPlugins ( ) : void
Init ( ) : void
KillProcess ( Process process ) : void
RegisterPlugin ( string name ) : void
Report ( Exception exc ) : void
ReportEvent ( string message, string category = "Event", EventLogEntryType type = EventLogEntryType.Information ) : void
SendPluginStopSignal ( PluginInfo plugin ) : void
StopPlugin ( PluginInfo plugin ) : void
StopPlugin ( string name ) : void
TerminatePlugin ( PluginInfo plugin ) : void
ThreadProc ( ) : void
UpdatePlugin ( WebClient client, string pluginsUrl, string name, string newVersion ) : void

Method Details

AgentServiceClass() public method

public AgentServiceClass ( ) : System
return System

OnStart() protected method

protected OnStart ( string args ) : void
args string
return void

OnStop() protected method

protected OnStop ( ) : void
return void

Start() public method

public Start ( ) : void
return void