X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=include%2Fanna%2Ftest%2FCommunicator.hpp;fp=include%2Fanna%2Ftest%2FCommunicator.hpp;h=babdbfc114a3d6748471891699510414ae823ef0;hp=e3b6a899be7f174de7ecb90ab7246b55a734b8eb;hb=5a6cba5fde2b2f538a7515f8293cc0a8d9589dfa;hpb=af9c86ffb0e28d35ad94d99c5f77e41578c972b4 diff --git a/include/anna/test/Communicator.hpp b/include/anna/test/Communicator.hpp index e3b6a89..babdbfc 100644 --- a/include/anna/test/Communicator.hpp +++ b/include/anna/test/Communicator.hpp @@ -26,16 +26,16 @@ public: a_delay (0) {;} - void setDelay (const Millisecond delay) throw () { a_delay = delay; } - void setMaxMessage (const int maxMessage) throw () { a_maxMessage = maxMessage; } + void setDelay (const Millisecond delay) { a_delay = delay; } + void setMaxMessage (const int maxMessage) { a_maxMessage = maxMessage; } - int getMaxMessage () const throw () { return a_maxMessage; } - int getMessage () const throw () { return a_messageCounter; } + int getMaxMessage () const { return a_maxMessage; } + int getMessage () const { return a_messageCounter; } - bool canContinue (const comm::ClientSocket&) throw (RuntimeException); - void delay () throw (RuntimeException); + bool canContinue (const comm::ClientSocket&) noexcept(false); + void delay () noexcept(false); - void terminate () throw (); + void terminate () ; private: Millisecond a_delay; Millisecond a_initTime; @@ -44,7 +44,7 @@ private: int a_successCounter; Average a_avgDelay; - void eventOverQuota (const comm::ClientSocket&) throw (); + void eventOverQuota (const comm::ClientSocket&) ; };