Changed LICENSE. Now referenced to web site and file on project root directory
[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     "AnswerReceivedUnknown", \
58     "AnswerReceivedOnClientSessionUnknown", \
59     "AnswerReceivedOnServerSessionUnknown", \
60     "CERSentOK", \
61     "CERSentNOK", \
62     "CEAReceived", \
63     "CERReceived", \
64     "CEASentOK", \
65     "CEASentNOK", \
66     "DWRSentOK", \
67     "DWRSentNOK", \
68     "DWAReceived", \
69     "DWRReceived", \
70     "DWASentOK", \
71     "DWASentNOK", \
72     "DPRSentOK", \
73     "DPRSentNOK", \
74     "DPAReceived", \
75     "DPRReceived", \
76     "DPASentOK", \
77     "DPASentNOK", \
78     "ServerSocketsOpened", \
79     "ServerSocketsClosed", \
80     "UnableToDeliverOverEntity", \
81     "LostAvailabilityOverClientSession", \
82     "RecoveredAvailabilityOverClientSession", \
83     "LostAvailabilityOverServer", \
84     "RecoveredAvailabilityOverServer", \
85     "LostAvailabilityOverEntity", \
86     "RecoveredAvailabilityOverEntity", \
87     "LostAvailabilityOverEngineForEntities", \
88     "RecoveredAvailabilityOverEngineForEntities", \
89     "UnableToDeliverToClient", \
90     "LostConnectionForServerSession", \
91     "UnbindConnectionForServerSessionDueToInactivityTimeAnomaly", \
92     "CreatedConnectionForServerSession", \
93     "LostAvailabilityOverLocalServer", \
94     "RecoveredAvailabilityOverLocalServer", \
95     "LostAvailabilityOverEngineForLocalServers", \
96     "RecoveredAvailabilityOverEngineForLocalServers", \
97     NULL /* list end indicator */
98                                                              };
99
100