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,
	Dialect dialect,
	bool keepSequenceNumbersBetweenFixConnections,
	ISessionStorage customStorage
)
Visual Basic
Public Sub New ( _
	senderCompID As String, _
	targetCompID As String, _
	dialect As Dialect, _
	keepSequenceNumbersBetweenFixConnections As Boolean, _
	customStorage As ISessionStorage _
)
Visual C++
public:
Session(
	String^ senderCompID, 
	String^ targetCompID, 
	Dialect^ dialect, 
	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).
dialect
Type: FIXForge.NET.FIX..::..Dialect
FIX dialect to be used by the session.
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