• Programming Guide
  • Api Documentation
  • OnixS CME iLink3 Handler for .NET Core, version 1.4.2
Show / Hide Table of Contents
  • Introduction
  • System Requirements
  • Getting Started
    • Error Reporting
    • Licensing
    • SBE Message
      • Tag-based Messaging
      • Message Fields
      • Repeating Groups
    • iLink 3 Session
      • Universally Unique Identifier
      • Establishing iLink3 Connection
      • Exchanging Messages
      • Message Sequence Numbers
  • Configuring the Handler
    • Configuration File Examples (XML or JSON)
  • Logging
  • Session Storage
    • File-Based Session Storage
    • Memory-based Session Storage
    • Asynchronous File-Based Session Storage
    • Pluggable Session Storage
  • Advanced Programming
    • Thread Safety
    • Session Initialization and Binding
    • Session States
    • Listening to Session Events
    • Handling NotApplied Messages
    • Handling Business Reject Messages
    • Automated Downloading of GTC and GTD Orders
    • Reconnection
    • Fault Tolerance
    • Understanding Send Latency
    • Strongly Typed Messages
  • Best Practices
    • Low Latency Best Practices
  • Glossary
  • Support

Universally Unique Identifier (UUID)

Each iLink 3 session is represented with a unique 64-bit identifier (UUID). CME Group recommends using the system timestamp, which represents the number of microseconds since epoch (Jan 1, 1970) as the timestamp. Business messages received from the exchange are recoverable for the sequence number + UUID combination.

The Session automatically generates the UUID in the following cases:

  • A new Session object is created, and the value from the previous run cannot be restored from "the session storage".
  • The Reset(Boolean) method is called.

One can pass a UUID value manually to the Session(SessionSettings, Int32, SessionStorageType, UInt64, String) constructor.

To read the UUID value, use the Uuid property.

For example:

Console.WriteLine(session.SessionId.Uuid);

More details about UUID can be found in the Universally Unique Identifier (UUID) article.

Re-Setting UUID

To reset the UUID intra-session on the same trading day, use the Reset(Boolean) method.

Note

The Reset(Boolean) method can be called only when the session is disconnected.

See Also

Restoring Session State.

In This Article
Back to top Copyright © Onix Solutions.
Generated by DocFX