Establishes FIX Connection as Initiator using the default heartbeat value, optionally sets
ResetSeqNumFlag(141) field in the initial Logon(A) message.
Namespace: FIXForge.NET.FIXInitiator establishes the telecommunications link and initiates the session via transmission of the initial Logon(A) message.
The heartbeat interval will be 30 seconds.
Assembly: FIXForge.NET.FIX.Engine-net-3.5 (in FIXForge.NET.FIX.Engine-net-3.5.dll) Version: 2.79.1.0
Syntax
C# |
---|
public void LogonAsInitiator( string host, int port, bool setResetSeqNumFlagInFirstLogon ) |
Visual Basic |
---|
Public Sub LogonAsInitiator ( _ host As String, _ port As Integer, _ setResetSeqNumFlagInFirstLogon As Boolean _ ) |
Visual C++ |
---|
public: void LogonAsInitiator( String^ host, int port, bool setResetSeqNumFlagInFirstLogon ) |
Parameters
- host
- Type: System..::..String
Counterparty's host name or address.
- port
- Type: System..::..Int32
Counterparty's port number.
- setResetSeqNumFlagInFirstLogon
- Type: System..::..Boolean
Option to set the ResetSeqNumFlag(141) in the initial Logon(A) message.
Exceptions
Exception | Condition |
---|---|
FIXForge.NET.FIX..::..EngineException | The FIX Connection cannot be established. |