C# Class PlexServiceCommon.AuxiliaryApplicationMonitor

Class that runs up and monitors the life of auxilliary applications
Afficher le fichier Open project: cjmurph/PmsService

Méthodes publiques

Méthode Description
AuxiliaryApplicationMonitor ( PlexServiceCommon.AuxiliaryApplication aux ) : System
Start ( ) : void

Start monitoring plex

Stop ( ) : void

Stop the monitor and kill the processes

Méthodes protégées

Méthode Description
OnStatusChange ( object sender, PlexServiceCommon.StatusChangeEventArgs data ) : void

Method to fire the status change event

Private Methods

Méthode Description
auxProcess_Exited ( object sender, EventArgs e ) : void

This event fires when the process we have a refrence to exits

end ( ) : void

Kill the plex process

start ( ) : void

Start a new/get a handle on existing Plex process

Method Details

AuxiliaryApplicationMonitor() public méthode

public AuxiliaryApplicationMonitor ( PlexServiceCommon.AuxiliaryApplication aux ) : System
aux PlexServiceCommon.AuxiliaryApplication
Résultat System

OnStatusChange() protected méthode

Method to fire the status change event
protected OnStatusChange ( object sender, PlexServiceCommon.StatusChangeEventArgs data ) : void
sender object
data PlexServiceCommon.StatusChangeEventArgs
Résultat void

Start() public méthode

Start monitoring plex
public Start ( ) : void
Résultat void

Stop() public méthode

Stop the monitor and kill the processes
public Stop ( ) : void
Résultat void