projects
/
anna.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Not allowed to set engine NULL !!
[anna.git]
/
source
/
diameter.comm
/
ClientSession.cpp
diff --git
a/source/diameter.comm/ClientSession.cpp
b/source/diameter.comm/ClientSession.cpp
index
5a7ca94
..
83c286c
100644
(file)
--- a/
source/diameter.comm/ClientSession.cpp
+++ b/
source/diameter.comm/ClientSession.cpp
@@
-41,11
+41,6
@@
#include <stdlib.h> // rand()
#include <time.h>
#include <stdlib.h> // rand()
#include <time.h>
-// XXXXXXXXXX
-#include <iostream>
-
-
-
using namespace std;
using namespace anna::diameter;
using namespace std;
using namespace anna::diameter;
@@
-453,6
+448,12
@@
void ClientSession::eventPeerShutdown() throw() {
}
void ClientSession::eventRequestRetransmission(Message *request) 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);
}
// Inform father server:
a_parent->eventRequestRetransmission(this, request);
}