/// <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(); }
/// <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(); }
/// <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(); }
/// <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(); }