C# Class QuickFix.Initiator

ファイルを表示 Open project: kennystone/quickfixn

Public Methods

Method Description
Initiator ( Application application, MessageStoreFactory storeFactory, SessionSettings settings ) : System.Collections.Generic
Initiator ( Application app, MessageStoreFactory storeFactory, SessionSettings settings, LogFactory logFactory ) : System.Collections.Generic
IsLoggedOn ( ) : bool
Start ( ) : void
Stop ( ) : void
Stop ( bool force ) : void

Protected Methods

Method Description
Connect ( ) : void
DoConnect ( SessionID sessionID, QuickFix settings ) : void

Implemented to connect a session to its target.

IsConnected ( SessionID sessionID ) : bool
IsDisconnected ( SessionID sessionID ) : bool
IsPending ( SessionID sessionID ) : bool
OnConfigure ( SessionSettings settings ) : void

Implemented to configure acceptor

OnInitialize ( SessionSettings settings ) : void

Implemented to initialize initiator

OnPoll ( double timeout ) : bool

Implemented to connect and poll for events.

OnStart ( ) : void

Implemented to start connecting to targets.

OnStop ( ) : void

Implemented to stop a running initiator.

SetConnected ( SessionID sessionID ) : void
SetDisconnected ( SessionID sessionID ) : void
SetPending ( SessionID sessionID ) : void

Method Details

Connect() protected method

protected Connect ( ) : void
return void

DoConnect() protected abstract method

Implemented to connect a session to its target.
protected abstract DoConnect ( SessionID sessionID, QuickFix settings ) : void
sessionID SessionID
settings QuickFix
return void

Initiator() public method

public Initiator ( Application application, MessageStoreFactory storeFactory, SessionSettings settings ) : System.Collections.Generic
application Application
storeFactory MessageStoreFactory
settings SessionSettings
return System.Collections.Generic

Initiator() public method

public Initiator ( Application app, MessageStoreFactory storeFactory, SessionSettings settings, LogFactory logFactory ) : System.Collections.Generic
app Application
storeFactory MessageStoreFactory
settings SessionSettings
logFactory LogFactory
return System.Collections.Generic

IsConnected() protected method

protected IsConnected ( SessionID sessionID ) : bool
sessionID SessionID
return bool

IsDisconnected() protected method

protected IsDisconnected ( SessionID sessionID ) : bool
sessionID SessionID
return bool

IsLoggedOn() public method

public IsLoggedOn ( ) : bool
return bool

IsPending() protected method

protected IsPending ( SessionID sessionID ) : bool
sessionID SessionID
return bool

OnConfigure() protected method

Implemented to configure acceptor
protected OnConfigure ( SessionSettings settings ) : void
settings SessionSettings
return void

OnInitialize() protected method

Implemented to initialize initiator
protected OnInitialize ( SessionSettings settings ) : void
settings SessionSettings
return void

OnPoll() protected abstract method

Implemented to connect and poll for events.
protected abstract OnPoll ( double timeout ) : bool
timeout double
return bool

OnStart() protected abstract method

Implemented to start connecting to targets.
protected abstract OnStart ( ) : void
return void

OnStop() protected abstract method

Implemented to stop a running initiator.
protected abstract OnStop ( ) : void
return void

SetConnected() protected method

protected SetConnected ( SessionID sessionID ) : void
sessionID SessionID
return void

SetDisconnected() protected method

protected SetDisconnected ( SessionID sessionID ) : void
sessionID SessionID
return void

SetPending() protected method

protected SetPending ( SessionID sessionID ) : void
sessionID SessionID
return void

Start() public method

public Start ( ) : void
return void

Stop() public method

public Stop ( ) : void
return void

Stop() public method

public Stop ( bool force ) : void
force bool
return void