C# Class Gallatin.Core.Net.Session

Inheritance: ISession
ファイルを表示 Open project: williamoneill/Gallatin Class Usage Examples

Public Methods

Method Description
Reset ( ) : void
Start ( INetworkConnection connection ) : void
TryParseAddress ( IHttpRequest e, string &host, int &port ) : bool

Private Methods

Method Description
ConnectionConnectionClosed ( object sender, EventArgs e ) : void
ConnectionDataAvailable ( object sender, DataAvailableEventArgs e ) : void
ConnectionReceiveShutdown ( object sender, EventArgs e ) : void
EstablishSslConnection ( string host, int port, string version ) : void
ParserPartialDataAvailable ( object sender, HttpDataEventArgs e ) : void
ParserReadRequestHeaderComplete ( object sender, HttpRequestHeaderEventArgs e ) : void
ServerConnected ( bool success ) : void
ServerDispatcherServerDataAvailable ( object sender, DataAvailableEventArgs e ) : void
Session ( IServerDispatcher dispatcher, IHttpFilter filter ) : System
_serverDispatcher_ActiveServerClosedConnection ( object sender, EventArgs e ) : void

Method Details

Reset() public method

public Reset ( ) : void
return void

Start() public method

public Start ( INetworkConnection connection ) : void
connection INetworkConnection
return void

TryParseAddress() public static method

public static TryParseAddress ( IHttpRequest e, string &host, int &port ) : bool
e IHttpRequest
host string
port int
return bool