C# Class QuickFix.Transport.SocketInitiator

Initiates connections and uses a single thread to process messages for all sessions.
Inheritance: AbstractInitiator
显示文件 Open project: kennystone/quickfixn Class Usage Examples

Public Methods

Method Description
SocketInitiator ( Application application, MessageStoreFactory storeFactory, SessionSettings settings ) : System
SocketInitiator ( Application application, MessageStoreFactory storeFactory, SessionSettings settings, LogFactory logFactory ) : System
SocketInitiatorThreadStart ( object socketInitiatorThread ) : void

Protected Methods

Method Description
DoConnect ( SessionID sessionID, Dictionary settings ) : void
OnConfigure ( SessionSettings settings ) : void
OnPoll ( double timeout ) : bool
OnStart ( ) : void
OnStop ( ) : void

Private Methods

Method Description
AddThread ( SocketInitiatorThread thread ) : void
GetNextSocketEndPoint ( SessionID sessionID, QuickFix settings ) : IPEndPoint
RemoveThread ( SocketInitiatorThread thread ) : void

Method Details

DoConnect() protected method

protected DoConnect ( SessionID sessionID, Dictionary settings ) : void
sessionID SessionID
settings Dictionary
return void

OnConfigure() protected method

protected OnConfigure ( SessionSettings settings ) : void
settings SessionSettings
return void

OnPoll() protected method

protected OnPoll ( double timeout ) : bool
timeout double
return bool

OnStart() protected method

protected OnStart ( ) : void
return void

OnStop() protected method

protected OnStop ( ) : void
return void

SocketInitiator() public method

public SocketInitiator ( Application application, MessageStoreFactory storeFactory, SessionSettings settings ) : System
application Application
storeFactory MessageStoreFactory
settings SessionSettings
return System

SocketInitiator() public method

public SocketInitiator ( Application application, MessageStoreFactory storeFactory, SessionSettings settings, LogFactory logFactory ) : System
application Application
storeFactory MessageStoreFactory
settings SessionSettings
logFactory LogFactory
return System

SocketInitiatorThreadStart() public static method

public static SocketInitiatorThreadStart ( object socketInitiatorThread ) : void
socketInitiatorThread object
return void