Creates the FIX Session.

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 Session(
	string senderCompID,
	string targetCompID,
	ProtocolVersion version,
	bool keepSequenceNumbersBetweenFixConnections
)
Visual Basic
Public Sub New ( _
	senderCompID As String, _
	targetCompID As String, _
	version As ProtocolVersion, _
	keepSequenceNumbersBetweenFixConnections As Boolean _
)
Visual C++
public:
Session(
	String^ senderCompID, 
	String^ targetCompID, 
	ProtocolVersion version, 
	bool keepSequenceNumbersBetweenFixConnections
)

Parameters

senderCompID
Type: System..::..String
Assigned value used to identify firm sending message (SenderCompID (tag=49) field value in outgoing messages).
targetCompID
Type: System..::..String
Assigned value used to identify receiving firm (TargetCompID (tag=56) field value in outgoing messages).
version
Type: FIXForge.NET.FIX..::..ProtocolVersion
FIX Version.
keepSequenceNumbersBetweenFixConnections
Type: System..::..Boolean
Option to keep sequence numbers after the exchange of Logout (MsgType=5) messages.

See Also