C# Class PlexServiceWCF.TrayInteraction

Inheritance: ITrayInteraction
Afficher le fichier Open project: cjmurph/PmsService

Méthodes publiques

Свойство Type Description
APP_DATA_PATH string

Méthodes publiques

Méthode Description
GetLog ( ) : string

Returns the log file as a string

GetSettings ( ) : string

Returns the settings file from the server as a json string

GetStatus ( ) : PlexState

Returns Running or Stopped

IsAuxAppRunning ( string name ) : bool

A request from the client for the running status of a specific auxilliary application

Restart ( ) : void

Restart Plex

SetSettings ( string settings ) : void

Write the settings to the server

Start ( ) : void

Start Plex

StartAuxApp ( string name ) : void
Stop ( ) : void

Stop Plex

StopAuxApp ( string name ) : void
TrayInteraction ( ) : System
WriteToLog ( string data ) : void

Write the passed string to the logfile

Private Methods

Méthode Description
OnPlexEvent ( object sender, PlexServiceCommon.StatusChangeEventArgs e ) : void

Plex status change event handler, forward any status changes to the clients

Method Details

GetLog() public méthode

Returns the log file as a string
public GetLog ( ) : string
Résultat string

GetSettings() public méthode

Returns the settings file from the server as a json string
public GetSettings ( ) : string
Résultat string

GetStatus() public méthode

Returns Running or Stopped
public GetStatus ( ) : PlexState
Résultat PlexState

IsAuxAppRunning() public méthode

A request from the client for the running status of a specific auxilliary application
public IsAuxAppRunning ( string name ) : bool
name string the name of the auxilliary application to check
Résultat bool

Restart() public méthode

Restart Plex
public Restart ( ) : void
Résultat void

SetSettings() public méthode

Write the settings to the server
public SetSettings ( string settings ) : void
settings string Json serialised Settings instance
Résultat void

Start() public méthode

Start Plex
public Start ( ) : void
Résultat void

StartAuxApp() public méthode

public StartAuxApp ( string name ) : void
name string
Résultat void

Stop() public méthode

Stop Plex
public Stop ( ) : void
Résultat void

StopAuxApp() public méthode

public StopAuxApp ( string name ) : void
name string
Résultat void

TrayInteraction() public méthode

public TrayInteraction ( ) : System
Résultat System

WriteToLog() public static méthode

Write the passed string to the logfile
public static WriteToLog ( string data ) : void
data string
Résultat void

Property Details

APP_DATA_PATH public_oe static_oe property

public static string APP_DATA_PATH
Résultat string