X-Git-Url: https://git.teslayout.com/public/public/public/?a=blobdiff_plain;f=example%2Fdiameter%2Flauncher%2FMyDiameterEngine.hpp;h=d7c9b076c4da2fc025e31bb971921c2c89b71dca;hb=d028ac4d72c144d25e160121d76ae815e8f37318;hp=8491fd9213bc485267671ace8dd44be3f7a24862;hpb=752438861433c3789eb1b0d9f2c15e15037595e6;p=anna.git diff --git a/example/diameter/launcher/MyDiameterEngine.hpp b/example/diameter/launcher/MyDiameterEngine.hpp index 8491fd9..d7c9b07 100644 --- a/example/diameter/launcher/MyDiameterEngine.hpp +++ b/example/diameter/launcher/MyDiameterEngine.hpp @@ -13,15 +13,22 @@ #include // Process -#include "MyDiameterEntity.hpp" -#include "MyLocalServer.hpp" +#include +#include +namespace anna { + namespace diameter { + namespace stack { + class Dictionary; + } + } +} + class MyDiameterEngine : public anna::diameter::comm::Engine { public: - static const char* getClassName() throw() { return "launcher::MyDiameterEngine"; } - MyDiameterEngine() {;} + MyDiameterEngine(const char *className, const anna::diameter::stack::Dictionary *baseProtocolDictionary) : Engine(className, baseProtocolDictionary) {;} // Default implementation is enough // void readDPA(anna::DataBlock &dpa, const anna::DataBlock & dpr) throw() {;} // DPA is not replied