rename the sequence receiver
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
#include <Shlwapi.h>
|
||||
#include <Windows.h>
|
||||
|
||||
#include <aman/com/AircraftScheduler.h>
|
||||
#include <aman/com/BackendReceiver.h>
|
||||
#include <aman/com/BackendNotification.h>
|
||||
#include <aman/config/CommunicationFileFormat.h>
|
||||
#include <aman/config/IdentifierFileFormat.h>
|
||||
@@ -62,20 +62,20 @@ PlugIn::PlugIn() :
|
||||
|
||||
ZmqContext::instance().initialize();
|
||||
|
||||
if (false == AircraftReporter::instance().initialize(this->m_configuration)) {
|
||||
if (false == BackendNotification::instance().initialize(this->m_configuration)) {
|
||||
this->DisplayUserMessage(PLUGIN_NAME, "ERROR", "Unable to initialize the reporter-connection to the backend", true, true, true, true, true);
|
||||
return;
|
||||
}
|
||||
|
||||
if (false == AircraftScheduler::instance().initialize(this->m_configuration)) {
|
||||
if (false == BackendReceiver::instance().initialize(this->m_configuration)) {
|
||||
this->DisplayUserMessage(PLUGIN_NAME, "ERROR", "Unable to initialize the scheduling-connection to the backend", true, true, true, true, true);
|
||||
AircraftReporter::instance().deinitialize();
|
||||
BackendNotification::instance().deinitialize();
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
PlugIn::~PlugIn() noexcept {
|
||||
AircraftScheduler::instance().deinitialize();
|
||||
BackendReceiver::instance().deinitialize();
|
||||
BackendNotification::instance().deinitialize();
|
||||
ZmqContext::instance().deinitialize();
|
||||
google::protobuf::ShutdownProtobufLibrary();
|
||||
|
||||
Reference in New Issue
Block a user