C# Class QuickFix.Transport.SocketAcceptor

Afficher le fichier Open project: kennystone/quickfixn

Méthodes publiques

Méthode Description
ForceShutdown ( ) : void

Forcefully close all connections without sending logout.

Shutdown ( ) : void

Gracefully shut down all clients, sending a logout to each.

SocketAcceptor ( Application app, Config settings ) : System
Start ( ) : void

Start main server loop thread.

Stop ( ) : void

Closes and stops socket listener.

Private Methods

Méthode Description
AcceptorLoop ( ) : void

Main server loop.

ClientHasDisconnected ( int bytesRead ) : bool
HandleClient ( object client ) : void

Handle newly connected client and spawn a thread.

HandleDataReceived ( string data, int clientHashCode ) : void

Method Details

ForceShutdown() public méthode

Forcefully close all connections without sending logout.
public ForceShutdown ( ) : void
Résultat void

Shutdown() public méthode

Gracefully shut down all clients, sending a logout to each.
public Shutdown ( ) : void
Résultat void

SocketAcceptor() public méthode

public SocketAcceptor ( Application app, Config settings ) : System
app Application
settings QuickFix.Config.Config
Résultat System

Start() public méthode

Start main server loop thread.
public Start ( ) : void
Résultat void

Stop() public méthode

Closes and stops socket listener.
public Stop ( ) : void
Résultat void