Exemplo n.º 1
0
        /// <summary>
        /// Stops the Schedule Object
        /// </summary>
        public void Stop()
        {
            // Stop has been called
            _stopCalled = true;

            // Stop the register agent
            _registerAgent.Stop();

            // Stop the requiredfiles agent
            _scheduleAndRfAgent.Stop();

            // Stop the Schedule Manager Thread
            _scheduleManager.Stop();

            // Stop the LibraryAgent Thread
            _libraryAgent.Stop();

            // Stop the LogAgent Thread
            _logAgent.Stop();

            // Stop the subsriber thread
            _xmrSubscriberThread.Abort();

            // Stop the embedded server
            _server.Stop();
        }
Exemplo n.º 2
0
        /// <summary>
        /// Stops the Schedule Object
        /// </summary>
        public void Stop()
        {
            // Stop has been called
            _stopCalled = true;

            // Stop the register agent
            _registerAgent.Stop();

            // Stop the requiredfiles agent
            _scheduleAndRfAgent.Stop();

            // Stop the Schedule Manager Thread
            _scheduleManager.Stop();
            _scheduleManager.OnInterruptNow          -= _scheduleManager_OnInterruptNow;
            _scheduleManager.OnInterruptPausePending -= _scheduleManager_OnInterruptPausePending;
            _scheduleManager.OnInterruptEnd          -= _scheduleManager_OnInterruptEnd;

            // Stop the LibraryAgent Thread
            _libraryAgent.Stop();

            // Stop the LogAgent Thread
            _logAgent.Stop();

            // Stop the Proof of Play Thread
            StatManager.Instance.Stop();

            // Stop the subsriber thread
            _xmrSubscriber.Stop();

            // Clean up any NetMQ sockets, etc (false means don't block).
            NetMQ.NetMQConfig.Cleanup(false);

            // Stop the embedded server
            _server.Stop();
        }
Exemplo n.º 3
0
        /// <summary>
        /// Stops the Schedule Object
        /// </summary>
        public void Stop()
        {
            // Stop has been called
            _stopCalled = true;

            // Stop the register agent
            _registerAgent.Stop();

            // Stop the requiredfiles agent
            _scheduleAndRfAgent.Stop();

            // Stop the Schedule Manager Thread
            _scheduleManager.Stop();

            // Stop the LibraryAgent Thread
            _libraryAgent.Stop();

            // Stop the LogAgent Thread
            _logAgent.Stop();

            // Stop the subsriber thread
            _xmrSubscriber.Stop();

            // Clean up any NetMQ sockets, etc (false means don't block).
            NetMQ.NetMQConfig.Cleanup(false);

            // Stop the embedded server
            _server.Stop();
        }
Exemplo n.º 4
0
        /// <summary>
        /// Stops the Schedule Object
        /// </summary>
        public void Stop()
        {
            // Stop the register agent
            _registerAgent.Stop();

            // Stop the schedule agent
            _scheduleAgent.Stop();

            // Stop the requiredfiles agent
            _requiredFilesAgent.Stop();

            // Stop the Schedule Manager Thread
            _scheduleManager.Stop();

            // Stop the LibraryAgent Thread
            _libraryAgent.Stop();
        }