C# Class CSharpUtils.Fastcgi.FastcgiServer

Exibir arquivo Open project: soywiz/csharputils

Public Methods

Method Description
Listen ( string UnixEndPoint ) : void
Listen ( ushort Port, string Address = "0.0.0.0" ) : void

Protected Methods

Method Description
HandleAcceptedSocket ( Object _Socket ) : void
HandleAcceptedSocketInNewThread ( Socket AcceptedSocket ) : void
HandleFascgiRequest ( FastcgiRequest FastcgiRequest ) : void

Private Methods

Method Description
HandleShutdown ( CtrlTypes CtrlType ) : bool

Handles the shutdown of the server to be able to execute code.

ListenCommon ( ) : void

Method Details

HandleAcceptedSocket() protected method

protected HandleAcceptedSocket ( Object _Socket ) : void
_Socket Object
return void

HandleAcceptedSocketInNewThread() protected method

protected HandleAcceptedSocketInNewThread ( Socket AcceptedSocket ) : void
AcceptedSocket Socket
return void

HandleFascgiRequest() protected method

protected HandleFascgiRequest ( FastcgiRequest FastcgiRequest ) : void
FastcgiRequest FastcgiRequest
return void

Listen() public method

public Listen ( string UnixEndPoint ) : void
UnixEndPoint string
return void

Listen() public method

public Listen ( ushort Port, string Address = "0.0.0.0" ) : void
Port ushort
Address string
return void