Example #1
0
        /// <summary>
        /// Called when the RTD server is loaded.
        ///
        /// </summary>
        /// <param name="callbackHandler">handle to Excel that we use to notify Excel of
        /// topic value updates</param>
        /// <returns>1 if we started OK, -1 if we cannot start</returns>
        public int ServerStart(IRTDUpdateEvent callbackHandler)
        {
            _log.Info("Starting RTD server Subscriber");
            // Setup our internal state as we have just been loaded by Excel
            _xlRtdUpdateCallbackHandler = callbackHandler;

            // Load when we are running inside of Excel
            if (_config == null)
            {
                _config = AppConfiguration.Load();
            }
            return(1);
        }
Example #2
0
 public ActiveMQPublisher() : this(AppConfiguration.Load())
 {
 }
Example #3
0
 public ActiveMQRtdServer() : this(AppConfiguration.Load())
 {
 }
Example #4
0
 public NmsRtdClient()
 {
     _config = AppConfiguration.Load();
 }