Class SessionId
Assembly: OnixS.Fix.Engine.dll
Syntax
public class SessionId : IEquatable<SessionId>
Constructors
SessionId(String, String, ProtocolVersion, String)
Declaration
public SessionId(string senderCompId, string targetCompId, ProtocolVersion fixVersion, string customKey = "")
Parameters
Properties
CustomKey
Returns CustomKey - additional id to differentiate sessions with the same (senderCompId, targetCompId, fixVersion);
empty string means no token required
Declaration
public string CustomKey { get; }
Property Value
FixVersion
Declaration
public ProtocolVersion FixVersion { get; }
Property Value
Id
Returns session id string key
Key format is
SenderCompId-TargetCompId-FixVersion-CustomKey
where "-CustomKey" part is omitted if token length is 0.
Declaration
public string Id { get; }
Property Value
Type |
Description |
String |
session id string key
|
SenderCompId
Declaration
public string SenderCompId { get; }
Property Value
TargetCompId
Declaration
public string TargetCompId { get; }
Property Value
Methods
Equals(SessionId)
Declaration
public bool Equals(SessionId other)
Parameters
Returns
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
Overrides
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
ToDetailedString()
Declaration
public string ToDetailedString()
Returns
ToString()
Declaration
public override string ToString()
Returns
Overrides
Implements