Establishes FIX Connection as Initiator using the custom Logon message.

Initiator establishes the telecommunications link and initiates the session via transmission of the initial Logon message.

Namespace: FIXForge.NET.FIX
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,
	int heartBtInt,
	Message customLogonMsg
)
Visual Basic
Public Sub LogonAsInitiator ( _
	host As String, _
	port As Integer, _
	heartBtInt As Integer, _
	customLogonMsg As Message _
)
Visual C++
public:
void LogonAsInitiator(
	String^ host, 
	int port, 
	int heartBtInt, 
	Message^ customLogonMsg
)

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 message.

Exceptions

ExceptionCondition
FIXForge.NET.FIX..::..EngineException The FIX Connection cannot be established.

See Also