App counters including message name and result code if proceed
[anna.git] / source / diameter.comm / OamModule.cpp
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 #include <anna/diameter.comm/OamModule.hpp>
10
11
12 anna_assign_enum(anna::diameter::comm::OamModule::Alarm) = { \
13     "UnableToDeliverDiameterMessageToEntityDefinedAs__s__", \
14     "UnableToDeliverDiameterMessageToEntityDefinedAsPrimary__s__AndSecondary__s__", \
15     "RequestSentOnClientSessionExpired", \
16     "RequestSentOnServerSessionExpired", \
17     "AnswerReceivedOnClientSessionUnknown", \
18     "AnswerReceivedOnServerSessionUnknown", \
19     "c_LostAvailabilityOverClientSessionWithServer__s__", \
20     "c_LostAvailabilityOverClientSessionWithServer__s__ClientSessionId__d__", \
21     "c_LostAvailabilityOverServerDefinedAs__s__", \
22     "c_LostAvailabilityOverEntityDefinedAs__s__", \
23     "c_LostAvailabilityOverEntityDefinedAsPrimary__s__AndSecondary__s__", \
24     "c_LostAvailabilityOverEntitiesForEngineWithClassName__s__", \
25     "UnableToDeliverDiameterMessageToClientFromLocalServer__s__", \
26     "LostConnectionForServerSessionAtLocalServer__s__", \
27     "LostConnectionForServerSessionAtLocalServer__s__ServerSessionId__d__", \
28     "UnbindConnectionForServerSessionAtLocalServer__s__DueToInactivityTimeAnomaly", \
29     "UnbindConnectionForServerSessionAtLocalServer__s__ServerSessionId__d__DueToInactivityTimeAnomaly", \
30     "c_LostAvailabilityOverLocalServerDefinedAs__s__", \
31     "c_LostAvailabilityOverLocalServersForEngineWithClassName__s__", \
32     NULL /* list end indicator */
33                                                            };
34
35 anna_assign_enum(anna::diameter::comm::OamModule::Counter) = { \
36     "RequestReceived", \
37     "AnswerReceived", \
38     "RequestReceivedOnClientSession", \
39     "AnswerReceivedOnClientSession", \
40     "RequestReceivedOnServerSession", \
41     "AnswerReceivedOnServerSession", \
42     "RequestSentOK", \
43     "RequestSentNOK", \
44     "AnswerSentOK", \
45     "AnswerSentNOK", \
46     "RequestSentOnClientSessionOK", \
47     "RequestSentOnClientSessionNOK", \
48     "AnswerSentOnClientSessionOK", \
49     "AnswerSentOnClientSessionNOK", \
50     "RequestSentOnServerSessionOK", \
51     "RequestSentOnServerSessionNOK", \
52     "AnswerSentOnServerSessionOK", \
53     "AnswerSentOnServerSessionNOK", \
54     "RequestSentExpired", \
55     "RequestSentOnClientSessionExpired", \
56     "RequestSentOnServerSessionExpired", \
57     "RequestRetransmitted", \
58     "RequestRetransmittedOnClientSession", \
59     "RequestRetransmittedOnServerSession", \
60     "AnswerReceivedUnknown", \
61     "AnswerReceivedOnClientSessionUnknown", \
62     "AnswerReceivedOnServerSessionUnknown", \
63     "CERSentOK", \
64     "CERSentNOK", \
65     "CEAReceived", \
66     "CERReceived", \
67     "CEASentOK", \
68     "CEASentNOK", \
69     "DWRSentOK", \
70     "DWRSentNOK", \
71     "DWAReceived", \
72     "DWRReceived", \
73     "DWASentOK", \
74     "DWASentNOK", \
75     "DPRSentOK", \
76     "DPRSentNOK", \
77     "DPAReceived", \
78     "DPRReceived", \
79     "DPASentOK", \
80     "DPASentNOK", \
81     "ServerSocketsOpened", \
82     "ServerSocketsClosed", \
83     "UnableToDeliverOverEntity", \
84     "LostAvailabilityOverClientSession", \
85     "RecoveredAvailabilityOverClientSession", \
86     "LostAvailabilityOverServer", \
87     "RecoveredAvailabilityOverServer", \
88     "LostAvailabilityOverEntity", \
89     "RecoveredAvailabilityOverEntity", \
90     "LostAvailabilityOverEngineForEntities", \
91     "RecoveredAvailabilityOverEngineForEntities", \
92     "UnableToDeliverToClient", \
93     "LostConnectionForServerSession", \
94     "UnbindConnectionForServerSessionDueToInactivityTimeAnomaly", \
95     "CreatedConnectionForServerSession", \
96     "LostAvailabilityOverLocalServer", \
97     "RecoveredAvailabilityOverLocalServer", \
98     "LostAvailabilityOverEngineForLocalServers", \
99     "RecoveredAvailabilityOverEngineForLocalServers", \
100     NULL /* list end indicator */
101                                                              };
102
103