Assembly: Teraspaces.QWFIX.Application (in Teraspaces.QWFIX.Application.dll) Version: 2.5.0.0 (2.5.0.0)
Syntax
| C# | Visual Basic | Visual C++ | J# |
public event FIXEngineEventHandler FIXEngineStopped
Public Event FIXEngineStopped As FIXEngineEventHandler
public: event FIXEngineEventHandler^ FIXEngineStopped { void add (FIXEngineEventHandler^ value); void remove (FIXEngineEventHandler^ value); }
/** @event */ public void add_FIXEngineStopped (FIXEngineEventHandler value) /** @event */ public void remove_FIXEngineStopped (FIXEngineEventHandler value)
Remarks
All FIX sessions have been stopped.
This event may be triggered when the scheduler of the FIX engine expires; or Exit()()() is called.
After this event handler finishes, the process is ready to be shut down. Remember Exit()()() still needs to be called before terminating the process.
The following is a typical example of sequence of events being triggered.
FIXEngineInitialized on FIXStandaloneApplication
FIXEngineRecovered on FIXStandaloneApplication
SessionStarting and SessionStarted on some FIXSession
FIXEngineStarted on FIXStandaloneApplication
SessionStarting and SessionStarted on some FIXSession
SessionResetting and SessionReseted on some FIXSession
FIXEngineStopping on FIXStandaloneApplication
SessionStopping and SessionStopped on eachFIXSession
FIXEngineStopped on FIXStandaloneApplication
|
A FIXSession defined in a FIXEngine may have a different scheduler than that of
FIXEngine. A FIXSession may not be started when FIXEngine is started because the
scheduler of the session may have not been "kicked up" yet. It is recommended that application hook up the FIXEngineStarted event and the SessionStarted of everyFIXSession and start the business logic after all required FIXSession has been started. SessionStarted has nothing to do with the status underlying TCP communication channel. It is controlled by the Scheduler only. Event if the underlying TCP channel is down, the session will still be started on time, and application can still send messages to the session by calling [M:Teraspaces.QWFIX.FIXSession.SendMessage(FIXMessage, bool)]. The messages will be queued and later sent to the recipient when the TCP channel is up. |
| Pre QWFIX version 1.5 the process will automatically terminate after this event is triggered. That behavior has been changed in this and future versions. |