Starts the application.

Namespace:  Teraspaces.QWFIX.Application
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 void Run(
	string engineName,
	FIXEngineRole role,
	string fixLogDirectory,
	FIXStandaloneApplicationStartupMode startupMode,
	bool syncIncomingMessages
)
Public Sub Run ( _
	engineName As String, _
	role As FIXEngineRole, _
	fixLogDirectory As String, _
	startupMode As FIXStandaloneApplicationStartupMode, _
	syncIncomingMessages As Boolean _
)
public:
void Run(
	String^ engineName, 
	FIXEngineRole role, 
	String^ fixLogDirectory, 
	FIXStandaloneApplicationStartupMode startupMode, 
	bool syncIncomingMessages
)
public void Run(
	String engineName,
	FIXEngineRole role,
	String fixLogDirectory,
	FIXStandaloneApplicationStartupMode startupMode,
	boolean syncIncomingMessages
)

Parameters

engineName
String
Name of the FIX engine.
role
FIXEngineRole
The role of the engine.
fixLogDirectory
String
The FIX log directory.
startupMode
FIXStandaloneApplicationStartupMode
The start up mode that affects the handling of version of settings.
syncIncomingMessages
Boolean
If set to true the incoming messages will be processed by one thread; otherwise, each session will create a separate thread to process incoming FIX messages.

Remarks

The application will try to load the settings for the FIXEngine by specified engineName.

If the process is started before the start time of the engine scheduler, the process will wait until the scheduler is kicked start at the start time. The engine may stay uninitialized for a long time. Accessing properties such as Settings from the uninitialized FIXEngine is meaningless, and should be treated as a bug in your application.

If processed is restarted in recovery mode, the version of the FIX engine settings will stay the same, even if the latest settings has been changed in the repository. Use Reset or Reconfig to catch up the latest version change. See FIXStandaloneApplicationStartupMode for more details.

Exceptions

ExceptionCondition
System..::.InvalidOperationExceptionIf the settings are invalid; or files can not be accessed in fixLogDirectory (which usually indicates the same process has been started twice, a serious error).

See Also