C# Class Tangerine.Daemon

Show file Open project: snorp/tangerine

Public Properties

Property Type Description
ConfigPath string
Debug bool
IsPublished bool
LogFile string
MaxUsers int
Name string
PasswordFile string
PluginNames string[]
Port ushort

Public Methods

Method Description
DisableAutostart ( ) : void
EnableAutostart ( ) : void
GetDaemonPath ( ) : string
GetProviders ( ) : List
IsSaveNeeded ( ) : bool
LogError ( string msg, Exception e ) : void
ParseConfig ( ) : void
Run ( ) : void
SaveConfig ( ) : void
Stop ( ) : void

Private Methods

Method Description
AddUsers ( ) : void
CommitConfig ( ) : void
GetAutostartPath ( ) : string
GetConsoleAppender ( ILayout layout ) : IAppender
GetFileAppender ( ILayout layout ) : IAppender
GetNextServiceName ( string name ) : string
InitializeLogging ( ) : void
OnCollision ( object o, EventArgs args ) : void
OnSignal ( Signum sig ) : void
OnTrackRequested ( object o, TrackRequestedArgs args ) : void
OnUnhandledException ( object o, UnhandledExceptionEventArgs args ) : void
OnUserLogin ( object o, UserArgs args ) : void
OnUserLogout ( object o, UserArgs args ) : void
QuitLoop ( ) : bool
RunLoop ( ) : void
Shutdown ( ) : void

Method Details

DisableAutostart() public static method

public static DisableAutostart ( ) : void
return void

EnableAutostart() public static method

public static EnableAutostart ( ) : void
return void

GetDaemonPath() public static method

public static GetDaemonPath ( ) : string
return string

GetProviders() public static method

public static GetProviders ( ) : List
return List

IsSaveNeeded() public static method

public static IsSaveNeeded ( ) : bool
return bool

LogError() public static method

public static LogError ( string msg, Exception e ) : void
msg string
e System.Exception
return void

ParseConfig() public static method

public static ParseConfig ( ) : void
return void

Run() public static method

public static Run ( ) : void
return void

SaveConfig() public static method

public static SaveConfig ( ) : void
return void

Stop() public static method

public static Stop ( ) : void
return void

Property Details

ConfigPath public static property

public static string ConfigPath
return string

Debug public static property

public static bool Debug
return bool

IsPublished public static property

public static bool IsPublished
return bool

LogFile public static property

public static string LogFile
return string

MaxUsers public static property

public static int MaxUsers
return int

Name public static property

public static string Name
return string

PasswordFile public static property

public static string PasswordFile
return string

PluginNames public static property

public static string[] PluginNames
return string[]

Port public static property

public static ushort Port
return ushort