Example #1
0
        public event DecodeStatusEventHandler DecodeStarted = delegate { }; // Initializing to the empty anonymous method will ensure that the event is never null, even if no methods are subscribed to it.

        /// <summary>
        /// Provides methods and properties for decoding FIX messages.
        /// </summary>
        public Decoder()
        {
            trailer = new Trailer();
            header  = new Header(tag, value, trailer, this);
            xupdate = new MarketDataIncrementalRefresh(tag, value, trailer, this);
            logout  = new Logout(tag, value, trailer);
            logon   = new Logon(tag, value, trailer);
            vupdate = new MarketDataRequest(tag, value, trailer);
            fupdate = new SecurityStatus(tag, value, trailer);
            dupdate = new SecurityDefinition(tag, value, trailer);
            rupdate = new QuoteRequest(tag, value, trailer);
            wupdate = new MarketDataSnapshotFullRefresh(tag, value, trailer);
            message = new Message();
        }
Example #2
0
        public event DecodeStatusEventHandler DecodeStarted = delegate { }; // Initializing to the empty anonymous method will ensure that the event is never null, even if no methods are subscribed to it.

        /// <summary>
        /// Provides methods and properties for decoding FIX messages.
        /// </summary>
        public Decoder()
        {
            trailer = new Trailer();
            header = new Header(tag, value, trailer, this);
            xupdate = new MarketDataIncrementalRefresh(tag, value, trailer, this);
            logout = new Logout(tag, value, trailer);
            logon = new Logon(tag, value, trailer);
            vupdate = new MarketDataRequest(tag, value, trailer);
            fupdate = new SecurityStatus(tag, value, trailer);
            dupdate = new SecurityDefinition(tag, value, trailer);
            rupdate = new QuoteRequest(tag, value, trailer);
            wupdate = new MarketDataSnapshotFullRefresh(tag, value, trailer);
            message = new Message();
        }