C# Класс PlexServiceWCF.TrayInteraction

Наследование: ITrayInteraction
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
APP_DATA_PATH string

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
OnPlexEvent ( object sender, PlexServiceCommon.StatusChangeEventArgs e ) : void

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

Описание методов

GetLog() публичный Метод

Returns the log file as a string
public GetLog ( ) : string
Результат string

GetSettings() публичный Метод

Returns the settings file from the server as a json string
public GetSettings ( ) : string
Результат string

GetStatus() публичный Метод

Returns Running or Stopped
public GetStatus ( ) : PlexState
Результат PlexState

IsAuxAppRunning() публичный Метод

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
Результат bool

Restart() публичный Метод

Restart Plex
public Restart ( ) : void
Результат void

SetSettings() публичный Метод

Write the settings to the server
public SetSettings ( string settings ) : void
settings string Json serialised Settings instance
Результат void

Start() публичный Метод

Start Plex
public Start ( ) : void
Результат void

StartAuxApp() публичный Метод

public StartAuxApp ( string name ) : void
name string
Результат void

Stop() публичный Метод

Stop Plex
public Stop ( ) : void
Результат void

StopAuxApp() публичный Метод

public StopAuxApp ( string name ) : void
name string
Результат void

TrayInteraction() публичный Метод

public TrayInteraction ( ) : System
Результат System

WriteToLog() публичный статический Метод

Write the passed string to the logfile
public static WriteToLog ( string data ) : void
data string
Результат void

Описание свойств

APP_DATA_PATH публичное статическое свойство

public static string APP_DATA_PATH
Результат string