C# Class Manos.AppHost

The app runner. This is where the magic happens.
Datei anzeigen Open project: Hyperfair/manos Class Usage Examples

Public Methods

Method Description
AddPipe ( IManosPipe pipe ) : void
AddTimeout ( System.TimeSpan timespan, IRepeatBehavior repeat, object data, TimeoutCallback callback ) : Timeout
AddTimeout ( System.TimeSpan begin, System.TimeSpan timespan, IRepeatBehavior repeat, object data, TimeoutCallback callback ) : Timeout
HandleTransaction ( IHttpTransaction con ) : void
Initialize ( Manos.ManosApp application ) : void
InitializeTLS ( string priorities ) : void
ListenAt ( IPEndPoint endPoint ) : void
RegenerateDHParams ( int bits ) : void
SecureListenAt ( IPEndPoint endPoint, string cert, string key ) : void
Start ( Manos.ManosApp application ) : void
Stop ( ) : void

Private Methods

Method Description
AppHost ( ) : System
manos_tls_global_init ( string priorities ) : int
manos_tls_regenerate_dhparams ( int bits ) : int

Method Details

AddPipe() public static method

public static AddPipe ( IManosPipe pipe ) : void
pipe IManosPipe
return void

AddTimeout() public static method

public static AddTimeout ( System.TimeSpan timespan, IRepeatBehavior repeat, object data, TimeoutCallback callback ) : Timeout
timespan System.TimeSpan
repeat IRepeatBehavior
data object
callback TimeoutCallback
return Timeout

AddTimeout() public static method

public static AddTimeout ( System.TimeSpan begin, System.TimeSpan timespan, IRepeatBehavior repeat, object data, TimeoutCallback callback ) : Timeout
begin System.TimeSpan
timespan System.TimeSpan
repeat IRepeatBehavior
data object
callback TimeoutCallback
return Timeout

HandleTransaction() public static method

public static HandleTransaction ( IHttpTransaction con ) : void
con IHttpTransaction
return void

Initialize() public static method

public static Initialize ( Manos.ManosApp application ) : void
application Manos.ManosApp
return void

InitializeTLS() public static method

public static InitializeTLS ( string priorities ) : void
priorities string
return void

ListenAt() public static method

public static ListenAt ( IPEndPoint endPoint ) : void
endPoint IPEndPoint
return void

RegenerateDHParams() public static method

public static RegenerateDHParams ( int bits ) : void
bits int
return void

SecureListenAt() public static method

public static SecureListenAt ( IPEndPoint endPoint, string cert, string key ) : void
endPoint IPEndPoint
cert string
key string
return void

Start() public static method

public static Start ( Manos.ManosApp application ) : void
application Manos.ManosApp
return void

Stop() public static method

public static Stop ( ) : void
return void