C# Class ClearCanvas.ImageServer.Core.HttpServer

Represents a http server that accepts and processes http requests.
Inheritance: ClearCanvas.Server.ShredHost.HttpListenerShred
Mostrar archivo Open project: jasper-yeh/ClearCanvas

Public Methods

Method Description
Start ( ) : void

Protected Methods

Method Description
HandleRequest ( HttpListenerContext context ) : void
HttpServer ( string serverName, int port, string path ) : System

Creates an instance of HttpServer on a specified address.

OnStartError ( string message ) : void

Private Methods

Method Description
ListenerCallback ( HttpListenerContext context ) : void

Handles incoming http request asynchronously

Method Details

HandleRequest() protected abstract method

protected abstract HandleRequest ( HttpListenerContext context ) : void
context System.Net.HttpListenerContext
return void

HttpServer() protected method

Creates an instance of HttpServer on a specified address.
protected HttpServer ( string serverName, int port, string path ) : System
serverName string Name of the Http server
port int
path string
return System

OnStartError() protected method

protected OnStartError ( string message ) : void
message string
return void

Start() public method

public Start ( ) : void
return void