forwardLogonAsInitiator Method (String, Int32, Int32, Boolean)   Table of ContentLogonAsInitiator Method (String, Int32, Int32, Boolean, Boolean)forward
Session.LogonAsInitiator Method (String, Int32, Int32, Message, Boolean)
Establishes FIX Connection as Initiator using a custom Logon message with an optional ResetSeqNumFlag (tag=141) field.

Initiator establishes the telecommunications link and initiates the session via transmission of the initial Logon (MsgType=A) message.

Namespace:  FIXForge.NET.FIX
Assembly:  FIXForge.NET.FIX.Engine-net-4.6.2_x64 (in FIXForge.NET.FIX.Engine-net-4.6.2_x64.dll) Version: 4.0.0.0
Syntax
C#
public virtual void LogonAsInitiator(
	string host,
	int port,
	int heartBtInt,
	Message customLogonMsg,
	bool setResetSeqNumFlagInFirstLogon
)

Parameters

host
Type: System.String
Counterparty's host name or address.
port
Type: System.Int32
Counterparty's port number.
heartBtInt
Type: System.Int32
Heartbeat interval (seconds).
customLogonMsg
Type: FIXForge.NET.FIX.Message
Custom Logon (MsgType=A) message.
setResetSeqNumFlagInFirstLogon
Type: System.Boolean
Option to set the ResetSeqNumFlag(tag=141) in the initial Logon (MsgType=A) message.

Implements

ISession.LogonAsInitiator(String, Int32, Int32, Message, Boolean)
Exceptions
ExceptionCondition
EngineExceptionThe FIX Connection cannot be established.
See Also