+///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
+// COUNTERS RECORD PROCEDURE //////////////////////////////////////////////////////////////////////////////////////////////////////////////////
+class MyCounterRecorderClock : public anna::timex::Clock {
+ public:
+ MyCounterRecorderClock(const char *clockName, const anna::Millisecond & timeout) :
+ anna::timex::Clock(clockName, timeout) {;}
+ //virtual ~MyCounterRecorderClock();
+
+ virtual bool tick() throw (RuntimeException) {
+ anna::diameter::comm::OamModule::instantiate().recordCounters();
+ anna::diameter::codec::OamModule::instantiate().recordCounters();
+ return true;
+ }
+};
+
+class MyCounterRecorder : public anna::oam::CounterRecorder {
+
+ // pure virtual definitions:
+ void open() throw(anna::RuntimeException) {;}
+ void apply(const anna::oam::Counter& counter) throw(anna::RuntimeException) {;}
+ void close() throw() {;}
+ std::string asString() const throw() { return "Physical dump not implemented: see memory accumulations writting context (kill -10 <pid>)"; }
+};
+///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
+
+