C# Class DAAP.Server

Afficher le fichier Open project: mono/daap-sharp Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

public AddCredential ( NetworkCredential cred ) : void
cred System.Net.NetworkCredential
Résultat void

AddDatabase() public méthode

public AddDatabase ( Database db ) : void
db Database
Résultat void

Commit() public méthode

public Commit ( ) : void
Résultat void

RemoveCredential() public méthode

public RemoveCredential ( NetworkCredential cred ) : void
cred NetworkCredential
Résultat void

RemoveDatabase() public méthode

public RemoveDatabase ( Database db ) : void
db Database
Résultat void

Server() public méthode

public Server ( string name ) : System
name string
Résultat System

Start() public méthode

public Start ( ) : void
Résultat void

Stop() public méthode

public Stop ( ) : void
Résultat void