Class CgwSession
A FIXP Session to Convenience Gateway (CGW). It is defined as a bi-directional stream of ordered messages between two parties within a continuous sequence number series. A single FIXP session can exist across multiple sequential (not concurrent) physical connections. A FIX Connection is comprised of three parts: logon, message exchange, and logout. A FIX Session is comprised of one or more FIX Connections, meaning that a FIX Session spans multiple logins. Parties can connect and disconnect multiple times while maintaining a single FIXP session. Connecting parties must bi-laterally agree as to when sessions are to be started/stopped based upon individual system and time zone requirements. Resetting the inbound and outbound sequence numbers back to 1, for whatever reason, constitutes the beginning of a new FIXP session.
Implements
Inherited Members
Namespace: OnixS.Cme.ILink3
Assembly: OnixS.Cme.ILink3.dll
Syntax
public class CgwSession : Session, IDisposable
Constructors
CgwSession(SessionSettings, SessionStorageType, ulong, string)
Creates a Convenience Gateway session.
Declaration
public CgwSession(SessionSettings settings, SessionStorageType storageType = SessionStorageType.FileBasedStorage, ulong uuid = 0, string customKey = "")
Parameters
Type | Name | Description |
---|---|---|
SessionSettings | settings | Session settings |
SessionStorageType | storageType | |
ulong | uuid | |
string | customKey |
CgwSession(SessionSettings, ISessionStorage)
Creates a Convenience Gateway session.
Declaration
public CgwSession(SessionSettings settings, ISessionStorage sessionStorage)
Parameters
Type | Name | Description |
---|---|---|
SessionSettings | settings | Session settings |
ISessionStorage | sessionStorage | Custom session storage implementation |