C# Class DAAP.Server

Exibir arquivo Open project: mono/daap-sharp Class Usage Examples

Public Methods

Method Description
AddCredential ( NetworkCredential cred ) : void
AddDatabase ( Database db ) : void
Commit ( ) : void
RemoveCredential ( NetworkCredential cred ) : void
RemoveDatabase ( Database db ) : void
Server ( string name ) : System
Start ( ) : void
Stop ( ) : void

Private Methods

Method Description
ExpireSessions ( ) : void
GetDatabasesNode ( ) : ContentNode
GetLoginNode ( int id ) : ContentNode
GetServerInfoNode ( ) : ContentNode
GetUpdateNode ( int revision ) : ContentNode
OnHandleRequest ( Socket client, string username, string path, NameValueCollection query, int range ) : bool
OnRegisterServiceResponse ( object o, RegisterServiceEventArgs args ) : void
OnUserLogin ( User user ) : void
OnUserLogout ( User user ) : void
RegisterService ( ) : void
UnregisterService ( ) : void

Method Details

AddCredential() public method

public AddCredential ( NetworkCredential cred ) : void
cred System.Net.NetworkCredential
return void

AddDatabase() public method

public AddDatabase ( Database db ) : void
db Database
return void

Commit() public method

public Commit ( ) : void
return void

RemoveCredential() public method

public RemoveCredential ( NetworkCredential cred ) : void
cred NetworkCredential
return void

RemoveDatabase() public method

public RemoveDatabase ( Database db ) : void
db Database
return void

Server() public method

public Server ( string name ) : System
name string
return System

Start() public method

public Start ( ) : void
return void

Stop() public method

public Stop ( ) : void
return void