X-Git-Url: https://git.teslayout.com/public/public/public/?a=blobdiff_plain;f=example%2Fdiameter%2FrxSimpleTest%2FMyDiameterEntity.cpp;h=69ccab2d627c4cdd7b0b3d0c486f3c93d7af3c45;hb=5a6cba5fde2b2f538a7515f8293cc0a8d9589dfa;hp=8daec6ed149e3bb8da44076444133c4184a2d765;hpb=26ae04c7e1eba19d02823bcc87c0ee9f6ce76186;p=anna.git diff --git a/example/diameter/rxSimpleTest/MyDiameterEntity.cpp b/example/diameter/rxSimpleTest/MyDiameterEntity.cpp index 8daec6e..69ccab2 100755 --- a/example/diameter/rxSimpleTest/MyDiameterEntity.cpp +++ b/example/diameter/rxSimpleTest/MyDiameterEntity.cpp @@ -24,7 +24,7 @@ #include -void MyDiameterEntity::eventRequestRetransmission(const anna::diameter::comm::ClientSession* clientSession, anna::diameter::comm::Message *request) throw() { +void MyDiameterEntity::eventRequestRetransmission(const anna::diameter::comm::ClientSession* clientSession, anna::diameter::comm::Message *request) { LOGMETHOD(anna::TraceMethod tm("rxSimpleTest::MyDiameterEntity", "eventRequestRetransmission", ANNA_FILE_LOCATION)); @@ -50,7 +50,7 @@ void MyDiameterEntity::eventRequestRetransmission(const anna::diameter::comm::Cl void MyDiameterEntity::eventRequest(anna::diameter::comm::ClientSession *clientSession, const anna::DataBlock &message) -throw(anna::RuntimeException) { +noexcept(false) { LOGMETHOD(anna::TraceMethod tm("rxSimpleTest::MyDiameterEntity", "eventRequest", ANNA_FILE_LOCATION)); // Performance stats: RxSimpleTest& my_app = static_cast (anna::app::functions::getApp()); @@ -71,7 +71,7 @@ throw(anna::RuntimeException) { } void MyDiameterEntity::eventResponse(const anna::diameter::comm::Response &response) -throw(anna::RuntimeException) { +noexcept(false) { LOGMETHOD(anna::TraceMethod tm("rxSimpleTest::MyDiameterEntity", "eventResponse", ANNA_FILE_LOCATION)); RxSimpleTest& my_app = static_cast (anna::app::functions::getApp()); anna::diameter::comm::OriginHost *my_node = my_app.getOriginHost(getEngine()->getOriginHostName()); @@ -122,7 +122,7 @@ throw(anna::RuntimeException) { anna::diameter::codec::Message aar; // From file would be: - //aar.loadXML("./aar.xml"); + //aar.loadXMLFile("./aar.xml"); aar.setApplicationId(anna::diameter::helpers::APPID__3GPP_Rx); // 16777236 aar.setId("AA-Request"); @@ -180,7 +180,7 @@ throw(anna::RuntimeException) { } void MyDiameterEntity::eventUnknownResponse(anna::diameter::comm::ClientSession *clientSession, const anna::DataBlock &message) -throw(anna::RuntimeException) { +noexcept(false) { LOGMETHOD(anna::TraceMethod tm("rxSimpleTest::MyDiameterEntity", "eventUnknownResponse", ANNA_FILE_LOCATION)); // Performance stats: RxSimpleTest& my_app = static_cast (anna::app::functions::getApp()); @@ -200,7 +200,7 @@ throw(anna::RuntimeException) { } void MyDiameterEntity::eventDPA(anna::diameter::comm::ClientSession *clientSession, const anna::DataBlock &message) -throw(anna::RuntimeException) { +noexcept(false) { LOGMETHOD(anna::TraceMethod tm("rxSimpleTest::MyDiameterEntity", "eventDPA", ANNA_FILE_LOCATION)); // Performance stats: RxSimpleTest& my_app = static_cast (anna::app::functions::getApp());