C# Class Gallatin.Core.Service.SessionState.SessionContext

Inheritance: ISessionContext
Afficher le fichier Open project: williamoneill/Gallatin

Private Properties

Свойство Type Description
CloseServerConnections void
ConnectionEstablished void
DataSent void
HandleClientConnectionClosed void
HandleClientParserAdditionalDataRequested void
HandleClientParserPartialDataAvailable void
HandleClientParserReadRequestHeaderComplete void
HandleClientReceive void
HandleServerConnectionConnectionClosed void
HandleServerParserAdditionalDataRequested void
HandleServerParserBodyAvailable void
HandleServerParserMessageReadComplete void
HandleServerParserPartialDataAvailable void
HandleServerParserReadResponseHeaderComplete void
HandleServerReceive void
ObjectInvariant void
SessionContext System
SetupClientConnection void
SetupServerConnection void

Méthodes publiques

Méthode Description
BeginConnectToRemoteHost ( string host, int port ) : void
ChangeState ( SessionStateType newState ) : void
OnSessionEnded ( ) : void
Reset ( ) : void
SendClientData ( byte data ) : void
SendServerData ( byte data ) : void
Start ( INetworkFacade connection ) : void

Private Methods

Méthode Description
CloseServerConnections ( ) : void
ConnectionEstablished ( bool success, INetworkFacade server ) : void
DataSent ( bool success, INetworkFacade facade ) : void
HandleClientConnectionClosed ( object sender, EventArgs e ) : void
HandleClientParserAdditionalDataRequested ( object sender, EventArgs e ) : void
HandleClientParserPartialDataAvailable ( object sender, HttpDataEventArgs e ) : void
HandleClientParserReadRequestHeaderComplete ( object sender, HttpRequestHeaderEventArgs e ) : void
HandleClientReceive ( bool success, byte data, INetworkFacade client ) : void
HandleServerConnectionConnectionClosed ( object sender, EventArgs e ) : void
HandleServerParserAdditionalDataRequested ( object sender, EventArgs e ) : void
HandleServerParserBodyAvailable ( object sender, HttpDataEventArgs e ) : void
HandleServerParserMessageReadComplete ( object sender, EventArgs e ) : void
HandleServerParserPartialDataAvailable ( object sender, HttpDataEventArgs e ) : void
HandleServerParserReadResponseHeaderComplete ( object sender, HttpResponseHeaderEventArgs e ) : void
HandleServerReceive ( bool success, byte data, INetworkFacade client ) : void
ObjectInvariant ( ) : void
SessionContext ( ISessionStateRegistry registry, INetworkFacadeFactory factory ) : System
SetupClientConnection ( INetworkFacade clientConnection ) : void
SetupServerConnection ( INetworkFacade serverConnection ) : void

Method Details

BeginConnectToRemoteHost() public méthode

public BeginConnectToRemoteHost ( string host, int port ) : void
host string
port int
Résultat void

ChangeState() public méthode

public ChangeState ( SessionStateType newState ) : void
newState SessionStateType
Résultat void

OnSessionEnded() public méthode

public OnSessionEnded ( ) : void
Résultat void

Reset() public méthode

public Reset ( ) : void
Résultat void

SendClientData() public méthode

public SendClientData ( byte data ) : void
data byte
Résultat void

SendServerData() public méthode

public SendServerData ( byte data ) : void
data byte
Résultat void

Start() public méthode

public Start ( INetworkFacade connection ) : void
connection INetworkFacade
Résultat void