X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=include%2Fanna%2Fcomm%2Finternal%2FConnectionRecover.hpp;fp=include%2Fanna%2Fcomm%2Finternal%2FConnectionRecover.hpp;h=249c83aeaf272db5a2335e9f5748f0667cd6f544;hp=10b27701614d573702487c1f8f26342c6fb8df1c;hb=5a6cba5fde2b2f538a7515f8293cc0a8d9589dfa;hpb=af9c86ffb0e28d35ad94d99c5f77e41578c972b4 diff --git a/include/anna/comm/internal/ConnectionRecover.hpp b/include/anna/comm/internal/ConnectionRecover.hpp index 10b2770..249c83a 100644 --- a/include/anna/comm/internal/ConnectionRecover.hpp +++ b/include/anna/comm/internal/ConnectionRecover.hpp @@ -26,12 +26,12 @@ class Communicator; class ConnectionRecover { public: - bool isRunning() const throw() { return a_isRunning; } + bool isRunning() const { return a_isRunning; } - void annotateFault(Server* server) throw(); -// bool contains (Server* server) const throw (); -// void erase (Server* server) throw (); - xml::Node* asXML(xml::Node* parent) const throw(RuntimeException); + void annotateFault(Server* server) ; +// bool contains (Server* server) const ; +// void erase (Server* server) ; + xml::Node* asXML(xml::Node* parent) const noexcept(false); private: typedef std::vector break_container; @@ -44,7 +44,7 @@ private: Millisecond a_nextTime; ConnectionRecover(Communicator* communicator) : a_communicator(*communicator), a_isRunning(false) {;} - void tryRecover() throw(); + void tryRecover() ; friend class Communicator; };