C# Class Gallatin.Core.Net.ServerDispatcher

Inheritance: IServerDispatcher
Afficher le fichier Open project: williamoneill/Gallatin Class Usage Examples

Méthodes publiques

Méthode Description
ConnectToServer ( string host, int port, IHttpResponseFilter filter, Action callback ) : void
Reset ( ) : void
TrySendDataToActiveServer ( byte data ) : bool

Private Methods

Méthode Description
ActiveServerDataAvailable ( object sender, DataAvailableEventArgs e ) : void
HandleConnect ( bool success, INetworkConnection connection ) : void
RemoveServer ( IHttpServer server ) : void
ServerConnectionClosed ( object sender, EventArgs e ) : void
ServerDispatcher ( INetworkConnectionFactory factory ) : System

Method Details

ConnectToServer() public méthode

public ConnectToServer ( string host, int port, IHttpResponseFilter filter, Action callback ) : void
host string
port int
filter IHttpResponseFilter
callback Action
Résultat void

Reset() public méthode

public Reset ( ) : void
Résultat void

TrySendDataToActiveServer() public méthode

public TrySendDataToActiveServer ( byte data ) : bool
data byte
Résultat bool