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;
int a_successCounter;
Average <Microsecond> a_avgDelay;
- void eventOverQuota (const comm::ClientSocket&) throw ();
+ void eventOverQuota (const comm::ClientSocket&) ;
};