#include <anna/diameter/codec/Message.hpp>
// Process
-#include "MyHandler.hpp"
+#include <MyHandler.hpp>
class MyCommunicator : public anna::comm::Communicator {
a_contexts("Contexts")
{;}
- void prepareAnswer(anna::diameter::codec::Message *answer, const anna::DataBlock &request) const throw();
- void terminate() throw();
+ void prepareAnswer(anna::diameter::codec::Message *answer, const anna::DataBlock &request) const ;
+ void terminate() ;
private:
+ using anna::comm::Communicator::eventBreakConnection;
+
anna::ThreadData <MyHandler> a_contexts;
- void eventReceiveMessage(anna::comm::ClientSocket&, const anna::comm::Message&) throw(anna::RuntimeException);
- void eventBreakConnection(Server* server) throw();
+ void eventReceiveMessage(anna::comm::ClientSocket&, const anna::comm::Message&) noexcept(false);
+ void eventBreakConnection(Server* server) ;
};
#endif