Creates the FIX Session using a custom Session storage.

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

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.
customStorage
Type: FIXForge.NET.FIX..::..ISessionStorage
Custom Session storage.

See Also