C# Class metrics.Net.MetricsListener

Inheritance: IDisposable
显示文件 Open project: ucdavis/metrics-net Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
ListenerCallback ( IAsyncResult result ) : void
Start ( int port ) : void
Stop ( ) : void

Private Methods

Method Description
HandleContext ( HttpListenerContext context ) : void
InitializeListenerOnPort ( int port ) : HttpListener
ReadFromManifestResourceStream ( string name ) : string
RespondWithFile ( HttpListenerResponse response, string filename ) : void
RespondWithNotFound ( HttpListenerResponse response ) : void
WriteFinal ( string responseString, HttpListenerResponse response ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

ListenerCallback() public static method

public static ListenerCallback ( IAsyncResult result ) : void
result IAsyncResult
return void

Start() public method

public Start ( int port ) : void
port int
return void

Stop() public method

public Stop ( ) : void
return void