C# Class PlexServiceCommon.AuxiliaryApplicationMonitor

Class that runs up and monitors the life of auxilliary applications
Mostrar archivo Open project: cjmurph/PmsService

Public Methods

Method Description
AuxiliaryApplicationMonitor ( PlexServiceCommon.AuxiliaryApplication aux ) : System
Start ( ) : void

Start monitoring plex

Stop ( ) : void

Stop the monitor and kill the processes

Protected Methods

Method Description
OnStatusChange ( object sender, PlexServiceCommon.StatusChangeEventArgs data ) : void

Method to fire the status change event

Private Methods

Method 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 method

public AuxiliaryApplicationMonitor ( PlexServiceCommon.AuxiliaryApplication aux ) : System
aux PlexServiceCommon.AuxiliaryApplication
return System

OnStatusChange() protected method

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

Start() public method

Start monitoring plex
public Start ( ) : void
return void

Stop() public method

Stop the monitor and kill the processes
public Stop ( ) : void
return void