ADML is not really an AOTS deployment but an simple ADML one
[anna.git] / example / diameter / rxSimpleTest / MyDiameterEntity.hpp
1 // ANNA - Anna is Not Nothingness Anymore                                                         //
2 //                                                                                                //
3 // (c) Copyright 2005-2015 Eduardo Ramos Testillano & Francisco Ruiz Rayo                         //
4 //                                                                                                //
5 // See project site at http://redmine.teslayout.com/projects/anna-suite                           //
6 // See accompanying file LICENSE or copy at http://www.teslayout.com/projects/public/anna.LICENSE //
7
8
9 #ifndef example_diameter_rxSimpleTest_MyDiameterEntity_hpp
10 #define example_diameter_rxSimpleTest_MyDiameterEntity_hpp
11
12 // Project
13 #include <anna/diameter.comm/Entity.hpp>
14
15 namespace anna {
16   namespace diameter {
17     namespace codec {
18       class Engine;
19     }
20   }
21 }
22
23 class MyDiameterEntity : public anna::diameter::comm::Entity {
24
25   void eventRequestRetransmission(const anna::diameter::comm::ClientSession *, anna::diameter::comm::Message*) throw();
26   void eventResponse(const anna::diameter::comm::Response&) throw(anna::RuntimeException);
27   void eventRequest(anna::diameter::comm::ClientSession *, const anna::DataBlock&) throw(anna::RuntimeException);
28   void eventUnknownResponse(anna::diameter::comm::ClientSession *, const anna::DataBlock&) throw(anna::RuntimeException);
29   void eventDPA(anna::diameter::comm::ClientSession *, const anna::DataBlock&) throw(anna::RuntimeException);
30
31 public:
32
33   MyDiameterEntity() {;}
34   virtual ~MyDiameterEntity() {;}
35 };
36
37 #endif