X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=source%2Fcomm%2Fhandler%2FManager.cpp;fp=source%2Fcomm%2Fhandler%2FManager.cpp;h=99ded886e7d3ce31a8e932ebfaa1740127449ac7;hp=29885879a9bc608b7fb4e1e2f6192c4c6d876ffc;hb=5a6cba5fde2b2f538a7515f8293cc0a8d9589dfa;hpb=af9c86ffb0e28d35ad94d99c5f77e41578c972b4 diff --git a/source/comm/handler/Manager.cpp b/source/comm/handler/Manager.cpp index 2988587..99ded88 100644 --- a/source/comm/handler/Manager.cpp +++ b/source/comm/handler/Manager.cpp @@ -21,7 +21,7 @@ template <> comm::Communicator* handler::Manager::DatagramSocketAllocator::st_co template <> comm::Communicator* handler::Manager::ClientSocketAllocator::st_communicator = NULL; void handler::Manager::initialize(Communicator* communicator) -throw() { +{ BinderSocketAllocator::st_communicator = communicator; ServerSocketAllocator::st_communicator = communicator; LocalConnectionAllocator::st_communicator = communicator; @@ -31,49 +31,49 @@ throw() { } Handler* handler::Manager::createHandler(comm::BinderSocket* binderSocket) -throw(RuntimeException) { +noexcept(false) { handler::BinderSocket* result = a_binderSockets.create(); result->setup(binderSocket); return result; } Handler* handler::Manager::createHandler(comm::ServerSocket* serverSocket) -throw(RuntimeException) { +noexcept(false) { handler::ServerSocket* result = a_serverSockets.create(); result->setup(serverSocket); return result; } Handler* handler::Manager::createHandler(comm::LocalConnection* localConnection) -throw(RuntimeException) { +noexcept(false) { handler::LocalConnection* result = a_localConnections.create(); result->setup(localConnection); return result; } Handler* handler::Manager::createHandler(comm::RemoteConnection* remoteConnection) -throw(RuntimeException) { +noexcept(false) { handler::RemoteConnection* result = a_remoteConnections.create(); result->setup(remoteConnection); return result; } Handler* handler::Manager::createHandler(comm::DatagramSocket* datagramSocket) -throw(RuntimeException) { +noexcept(false) { handler::DatagramSocket* result = a_datagramSockets.create(); result->setup(datagramSocket); return result; } Handler* handler::Manager::createHandler(comm::ClientSocket* clientSocket) -throw(RuntimeException) { +noexcept(false) { handler::ClientSocket* result = a_clientSockets.create(); result->setup(clientSocket); return result; } void handler::Manager::releaseHandler(Handler* handler) -throw() { +{ if(handler == NULL) return;