C# Class NMaier.SimpleDlna.Server.HttpServer

Inheritance: Logging, IDisposable
Mostra file Open project: nmaier/simpleDLNA Class Usage Examples

Public Properties

Property Type Description
Signature string

Public Methods

Method Description
Dispose ( ) : void
HttpServer ( ) : System
HttpServer ( int port ) : System
RegisterMediaServer ( IMediaServer server ) : void
UnregisterMediaServer ( IMediaServer server ) : void

Private Methods

Method Description
Accept ( ) : void
AcceptCallback ( IAsyncResult result ) : void
AuthorizeClient ( HttpClient client ) : bool
FindHandler ( string prefix ) : IPrefixHandler
GenerateServerSignature ( ) : string
RegisterHandler ( IPrefixHandler handler ) : void
RemoveClient ( HttpClient client ) : void
TimeouterCallback ( object sender, System.Timers.ElapsedEventArgs e ) : void
UnregisterHandler ( IPrefixHandler handler ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

HttpServer() public method

public HttpServer ( ) : System
return System

HttpServer() public method

public HttpServer ( int port ) : System
port int
return System

RegisterMediaServer() public method

public RegisterMediaServer ( IMediaServer server ) : void
server IMediaServer
return void

UnregisterMediaServer() public method

public UnregisterMediaServer ( IMediaServer server ) : void
server IMediaServer
return void

Property Details

Signature public_oe static_oe property

public static string Signature
return string