Allow set NULL codec engine
[anna.git] / source / diameter.comm / ClientSession.cpp
index 5a7ca94..83c286c 100644 (file)
 #include <stdlib.h> // rand()
 #include <time.h>
 
-// XXXXXXXXXX
-#include <iostream>
-
-
-
 
 using namespace std;
 using namespace anna::diameter;
@@ -453,6 +448,12 @@ void ClientSession::eventPeerShutdown() throw() {
 }
 
 void ClientSession::eventRequestRetransmission(Message *request) throw() {
+
+  // OAM
+  OamModule &oamModule = OamModule::instantiate();
+  oamModule.count(OamModule::Counter::RequestRetransmitted);
+  oamModule.count(OamModule::Counter::RequestRetransmittedOnClientSession);
+
   // Inform father server:
   a_parent->eventRequestRetransmission(this, request);
 }