Session Constructor (String, String, ProtocolVersion, Boolean, String) |
Creates the FIX Session.
Namespace:
FIXForge.NET.FIX
Assembly:
FIXForge.NET.FIX.Engine-net-4.8_x64 (in FIXForge.NET.FIX.Engine-net-4.8_x64.dll) Version: 4.12.0.0
Syntax public Session(
string senderCompID,
string targetCompID,
ProtocolVersion version,
bool keepSequenceNumbersBetweenFixConnections,
string customSessionKey
)
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. - customSessionKey
- Type: System.String
Custom key that can be used to distinguish sessions with the same values of the SenderCompID, TargetCompID and the FIX Protocol version.
See Also