C# Class QuickFix.Transport.SocketInitiator

Initiates connections and uses a single thread to process messages for all sessions.
Inheritance: AbstractInitiator
Afficher le fichier Open project: kennystone/quickfixn Class Usage Examples

Méthodes publiques

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

Méthodes protégées

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

Private Methods

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

Method Details

DoConnect() protected méthode

protected DoConnect ( SessionID sessionID, Dictionary settings ) : void
sessionID SessionID
settings Dictionary
Résultat void

OnConfigure() protected méthode

protected OnConfigure ( SessionSettings settings ) : void
settings SessionSettings
Résultat void

OnPoll() protected méthode

protected OnPoll ( double timeout ) : bool
timeout double
Résultat bool

OnStart() protected méthode

protected OnStart ( ) : void
Résultat void

OnStop() protected méthode

protected OnStop ( ) : void
Résultat void

SocketInitiator() public méthode

public SocketInitiator ( Application application, MessageStoreFactory storeFactory, SessionSettings settings ) : System
application Application
storeFactory MessageStoreFactory
settings SessionSettings
Résultat System

SocketInitiator() public méthode

public SocketInitiator ( Application application, MessageStoreFactory storeFactory, SessionSettings settings, LogFactory logFactory ) : System
application Application
storeFactory MessageStoreFactory
settings SessionSettings
logFactory LogFactory
Résultat System

SocketInitiatorThreadStart() public static méthode

public static SocketInitiatorThreadStart ( object socketInitiatorThread ) : void
socketInitiatorThread object
Résultat void