// Statistics
int a_processing_time__StatisticConceptId; // request from local server (dpr's, etc.)
int a_received_message_size__StatisticConceptId;
- anna::statistics::Accumulator a_statisticsAccumulator;
- void initializeStatisticConcepts() throw();
+ anna::statistics::Accumulator *a_statisticsAccumulator;
+ void initializeStatisticResources() throw();
void resetStatistics() throw();
// void eraseServerSession(const anna::comm::ClientSocket& clientSocket) throw();
*/
void setDescription(const std::string description) throw() { a_description = description; }
+ /**
+ Set timeout to consider failed a request.
+ \param v Requests class code.
+ \param millisecond Milliseconds wait before considering the requests failed.
+
+ Timers are internally managed and automatically activated.
+ */
+ void setClassCodeTimeout(const ClassCode::_v v, const anna::Millisecond & millisecond) throw();
/**
Sets the server socket optional category
*/
void setEngine(Engine *e) throw() { a_engine = e; }
-// /**
-// * Gets the diameter::comm::Engine
-// * @return Diameter::comm::Engine
-// */
-// Engine *getEngine() const throw() { return a_engine; }
-
// getters
+ /**
+ * Gets the diameter::comm::Engine
+ * @return Diameter::comm::Engine
+ */
+ Engine *getEngine() const throw() { return a_engine; }
+
/**
* Gets the local server key
* @return LocalServer key
}
#endif
-