Beispiel #1
0
        internal override FxDataClient CreateFxDataClient(string connectionString)
        {
            this.handle.Handle.Delete();
            this.handle = new FxDataFeed();
            this.handle = FxDataFeed.Create(name_, connectionString);

            return(this.handle.DataClient);
        }
Beispiel #2
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="disposing"></param>
        protected override void Dispose(bool disposing)
        {
            // Stop data client thread
            if (this.IsStarted)
            {
                this.Stop();
            }

            if (!this.handle.Handle.IsNull)
            {
                this.handle.Handle.Delete();
                this.handle = new FxDataFeed();
            }

            base.Dispose(disposing);
        }