X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=include%2Fanna%2Fcomm%2FAccessPoint.hpp;fp=include%2Fanna%2Fcomm%2FAccessPoint.hpp;h=45d00887863c2e04925cb2eb9a0fccdce541ce64;hp=158b5e5bc91e06133d173e5d7198f6eb52ba126a;hb=5a6cba5fde2b2f538a7515f8293cc0a8d9589dfa;hpb=af9c86ffb0e28d35ad94d99c5f77e41578c972b4 diff --git a/include/anna/comm/AccessPoint.hpp b/include/anna/comm/AccessPoint.hpp index 158b5e5..45d0088 100644 --- a/include/anna/comm/AccessPoint.hpp +++ b/include/anna/comm/AccessPoint.hpp @@ -42,24 +42,24 @@ public: ~AccessPoint() { delete a_path; } - const INetAddress& getINetAddress() const throw() { return a_inetAddress; } - const std::string& getPath() const throw() { return *a_path; } + const INetAddress& getINetAddress() const { return a_inetAddress; } + const std::string& getPath() const { return *a_path; } - void clear() throw() { a_inetAddress.clear(); delete a_path; a_path = NULL; } - bool isNull() const throw() { return a_path == NULL && a_inetAddress.isNull(); } + void clear() { a_inetAddress.clear(); delete a_path; a_path = NULL; } + bool isNull() const { return a_path == NULL && a_inetAddress.isNull(); } - bool operator == (const AccessPoint&) const throw(); - AccessPoint& operator = (const INetAddress&) throw(); - AccessPoint& operator = (const std::string& path) throw(); - AccessPoint& operator = (const AccessPoint&) throw(); + bool operator == (const AccessPoint&) const ; + AccessPoint& operator = (const INetAddress&) ; + AccessPoint& operator = (const std::string& path) ; + AccessPoint& operator = (const AccessPoint&) ; - void asString(std::string& msg) const throw(); + void asString(std::string& msg) const ; - void asXML(const char* name, xml::Node* parent) const throw(RuntimeException); + void asXML(const char* name, xml::Node* parent) const noexcept(false); - std::string serialize() const throw(); + std::string serialize() const ; - void translate(const Socket&, sockaddr*&, int& len) throw(RuntimeException); + void translate(const Socket&, sockaddr*&, int& len) noexcept(false); private: const Socket* a_owner;