C# Class QuickFix.ThreadedSocketReactor

Handles incoming connections on a single endpoint. When a socket connection is accepted, a ClientHandlerThread is created to handle the connection
Mostra file Open project: connamara/quickfixn Class Usage Examples

Public Methods

Method Description
ApplySocketOptions ( TcpClient client, QuickFix.SocketSettings socketSettings ) : void

FIXME get socket options from SessionSettings

Run ( ) : void

TODO apply networking options, e.g. NO DELAY, LINGER, etc.

Shutdown ( ) : void
Start ( ) : void
ThreadedSocketReactor ( IPEndPoint serverSocketEndPoint, QuickFix.SocketSettings socketSettings, QuickFix sessionDict ) : System

Private Methods

Method Description
Log ( string s ) : void

FIXME do real logging

OnClientHandlerThreadExited ( object sender, ClientHandlerThread e ) : void
ShutdownClientHandlerThreads ( ) : void
ThreadedSocketReactor ( IPEndPoint serverSocketEndPoint, QuickFix.SocketSettings socketSettings ) : System

Method Details

ApplySocketOptions() public static method

FIXME get socket options from SessionSettings
public static ApplySocketOptions ( TcpClient client, QuickFix.SocketSettings socketSettings ) : void
client System.Net.Sockets.TcpClient
socketSettings QuickFix.SocketSettings
return void

Run() public method

TODO apply networking options, e.g. NO DELAY, LINGER, etc.
public Run ( ) : void
return void

Shutdown() public method

public Shutdown ( ) : void
return void

Start() public method

public Start ( ) : void
return void

ThreadedSocketReactor() public method

public ThreadedSocketReactor ( IPEndPoint serverSocketEndPoint, QuickFix.SocketSettings socketSettings, QuickFix sessionDict ) : System
serverSocketEndPoint System.Net.IPEndPoint
socketSettings QuickFix.SocketSettings
sessionDict QuickFix
return System