C# Class Tangerine.Daemon

ファイルを表示 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_oe static_oe property

public static string ConfigPath
return string

Debug public_oe static_oe property

public static bool Debug
return bool

IsPublished public_oe static_oe property

public static bool IsPublished
return bool

LogFile public_oe static_oe property

public static string LogFile
return string

MaxUsers public_oe static_oe property

public static int MaxUsers
return int

Name public_oe static_oe property

public static string Name
return string

PasswordFile public_oe static_oe property

public static string PasswordFile
return string

PluginNames public_oe static_oe property

public static string[] PluginNames
return string[]

Port public_oe static_oe property

public static ushort Port
return ushort