Class SessionId
Assembly: OnixS.Cme.ILink3.dll
Syntax
public class SessionId : IEquatable<SessionId>
Properties
CustomKey
Custom key that can be used to distinguish sessions with the same values of UUID and MarketSegmentId.
Declaration
public string CustomKey { get; }
Property Value
Firm
Declaration
public string Firm { get; }
Property Value
MarketSegmentId
Declaration
public int MarketSegmentId { get; }
Property Value
Session
Declaration
public string Session { get; }
Property Value
Uuid
Declaration
public ulong Uuid { get; }
Property Value
Methods
Equals(SessionId)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals(SessionId other)
Parameters
Type |
Name |
Description |
SessionId |
other |
An object to compare with this object.
|
Returns
Type |
Description |
bool |
true if the current object is equal to the other parameter; otherwise, false.
|
Equals(object)
Determines whether the specified object is equal to the current object.
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
object |
obj |
The object to compare with the current object.
|
Returns
Type |
Description |
bool |
true if the specified object is equal to the current object; otherwise, false.
|
Overrides
GenerateUuid()
Generates the unique (during program run time) UUIDs
Declaration
public static ulong GenerateUuid()
Returns
GetHashCode()
Serves as the default hash function.
Declaration
public override int GetHashCode()
Returns
Type |
Description |
int |
A hash code for the current object.
|
Overrides
GetStorageId()
Declaration
public string GetStorageId()
Returns
ToFullId()
Is NOT changed over lifetime of the Session
Declaration
Returns
ToId()
Is NOT changed over lifetime of the Session
Declaration
Returns
ToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
Type |
Description |
string |
A string that represents the current object.
|
Overrides
Implements