1 // ANNA - Anna is Not Nothingness Anymore //
3 // (c) Copyright 2005-2015 Eduardo Ramos Testillano & Francisco Ruiz Rayo //
5 // See project site at http://redmine.teslayout.com/projects/anna-suite //
6 // See accompanying file LICENSE or copy at http://www.teslayout.com/projects/public/anna.LICENSE //
9 #include <anna/comm/Application.hpp>
10 #include <anna/comm/SureTransport.hpp>
11 #include <anna/comm/functions.hpp>
12 #include <anna/comm/Communicator.hpp>
17 comm::Application::Application(const char *shortName, const char *title, const char *version, const char* date, const char* time) :
18 app::Application(shortName, title, version, date, time) {
21 comm::TransportFactory& comm::Application::getDefaultTransportFactory()
23 return SureTransport::getFactory();
26 void comm::Application::signalTerminate()
27 throw(RuntimeException) {
28 Communicator* communicator = app::functions::component <Communicator> (ANNA_FILE_LOCATION);
29 communicator->requestStop();