C# Class QuickFix.Transport.SocketAcceptor

显示文件 Open project: kennystone/quickfixn

Public Methods

Method 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

Method 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 method

Forcefully close all connections without sending logout.
public ForceShutdown ( ) : void
return void

Shutdown() public method

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

SocketAcceptor() public method

public SocketAcceptor ( Application app, Config settings ) : System
app Application
settings QuickFix.Config.Config
return System

Start() public method

Start main server loop thread.
public Start ( ) : void
return void

Stop() public method

Closes and stops socket listener.
public Stop ( ) : void
return void