Remove dynamic exceptions
[anna.git] / source / comm / ServerAllocator.cpp
1 // ANNA - Anna is Not Nothingness Anymore                                                         //
2 //                                                                                                //
3 // (c) Copyright 2005-2015 Eduardo Ramos Testillano & Francisco Ruiz Rayo                         //
4 //                                                                                                //
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 //
7
8
9 #include <anna/comm/ServerAllocator.hpp>
10 #include <anna/comm/Server.hpp>
11
12 using namespace std;
13 using namespace anna;
14
15 comm::Server* comm::ServerAllocator::apply() const
16 {
17   return new Server(a_name, a_host, a_remotePort, a_autoRecovery, a_transportFactory);
18 }
19