forwardLicensing   Table of ContentApplication Levelforward
Working With Handler
Working with Handler

Main class to work with Handler is Session.

To create the Session object there are four parameters (obtained from CME):

  • CME Straight Through Processing Service URI
  • SenderCompID - Assigned value used to identify customer firm sending message.
  • SenderSubID - The user ID assigned to the sender must be provided in all uppercase letters.
  • Pasword - CME assigned password.

Example
C#
using OnixS.CmeStpHandler;

const string senderCompID = "Sender";
const string senderSubID = "SenderSubId";
const string uri = "https://servicescert.cmegroup.com/utbhttpapi3/messaging";

try
{
session = new Session(new Uri(uri), senderCompID, SenderSubId, password);
}
catch (LicenseException ex)
{
  Console.WriteLine("License error: " + ex.Message);
  return;
}
Content