X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=include%2Fanna%2Fdiameter.comm%2FLocalServer.hpp;h=2416e8ce70e47737f7cba9c40c3fe9bdd5ad05e8;hp=d83dd31bd6663a6a07e8b4d50a8efa2504dc2403;hb=bc8edd446b493d53cd351b7ed4c62dce0e305e0c;hpb=cac05d18bea0e6f086fc59abe2309b8e0bc0bc7d diff --git a/include/anna/diameter.comm/LocalServer.hpp b/include/anna/diameter.comm/LocalServer.hpp index d83dd31..2416e8c 100644 --- a/include/anna/diameter.comm/LocalServer.hpp +++ b/include/anna/diameter.comm/LocalServer.hpp @@ -143,6 +143,14 @@ public: */ 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