X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=example%2Fdiameter%2Flauncher%2FMyDiameterEngine.hpp;h=f304d0d855ae3ba41e90c1d78f999b5dbc7b468b;hp=d7c9b076c4da2fc025e31bb971921c2c89b71dca;hb=bc8edd446b493d53cd351b7ed4c62dce0e305e0c;hpb=cac05d18bea0e6f086fc59abe2309b8e0bc0bc7d diff --git a/example/diameter/launcher/MyDiameterEngine.hpp b/example/diameter/launcher/MyDiameterEngine.hpp index d7c9b07..f304d0d 100644 --- a/example/diameter/launcher/MyDiameterEngine.hpp +++ b/example/diameter/launcher/MyDiameterEngine.hpp @@ -16,6 +16,9 @@ #include #include +// Standard +#include + namespace anna { namespace diameter { @@ -32,7 +35,8 @@ public: // Default implementation is enough // void readDPA(anna::DataBlock &dpa, const anna::DataBlock & dpr) throw() {;} // DPA is not replied -// void readCEA(anna::DataBlock &cea, const anna::DataBlock & cer) throw() {;} // CEA is not replied + void setCEA(const std::string &ceaPathfile) throw() { a_ceaPathfile = ceaPathfile; } + void readCEA(anna::DataBlock &cea, const anna::DataBlock & cer) throw(); // void readDWA(anna::DataBlock &dwa, const anna::DataBlock & dwr) throw() {;} // DWA is not replied private: @@ -53,6 +57,8 @@ private: MyLocalServer* aux = static_cast (localServer); a_localServersRecycler.release(aux); } + + std::string a_ceaPathfile; // path file to optional CEA (diameter local server configuration) }; #endif