Dynamic lib selection and deployment
[anna.git] / example / diameter / launcher / testing / TestCondition.hpp
index 7ff58d9..57cba63 100644 (file)
@@ -32,8 +32,9 @@ class TestCondition {
 
     TestCondition() : a_rcvFromEntity(true),
                       a_regexp(""),
-                      a_code(""), a_bitR(""), a_resultCode(""), a_sessionId(""),
-                      a_hopByHop(""), a_msisdn(""), a_imsi(""), a_serviceContextId("") { a_type = Type::Basic; }
+                      a_code(""), a_bitR(""), a_hopByHop(""), a_applicationId(""),
+                      a_sessionId(""), a_resultCode(""),
+                      a_msisdn(""), a_imsi(""), a_serviceContextId("") { a_type = Type::Basic; }
 
 
     // Source of the received message
@@ -45,9 +46,10 @@ class TestCondition {
     // Basic
     void setCode(const std::string &value) throw() { a_code = value; }
     void setBitR(const std::string &value) throw() { a_bitR = value; }
-    void setResultCode(const std::string &value) throw() { a_resultCode = value; }
-    void setSessionId(const std::string &value) throw() { a_sessionId = value; }
     void setHopByHop(const std::string &value) throw() { a_hopByHop = value; }
+    void setApplicationId(const std::string &value) throw() { a_applicationId = value; }
+    void setSessionId(const std::string &value) throw() { a_sessionId = value; }
+    void setResultCode(const std::string &value) throw() { a_resultCode = value; }
     void setMsisdn(const std::string &value) throw() { a_msisdn = value; }
     void setImsi(const std::string &value) throw() { a_imsi = value; }
     void setServiceContextId(const std::string &value) throw() { a_serviceContextId = value; }
@@ -60,9 +62,10 @@ class TestCondition {
     // Basic
     const std::string & getCode() const throw() { return a_code; }
     const std::string & getBitR() const throw() { return a_bitR; }
-    const std::string & getResultCode() const throw() { return a_resultCode; }
-    const std::string & getSessionId() const throw() { return a_sessionId; }
     const std::string & getHopByHop() const throw() { return a_hopByHop; }
+    const std::string & getApplicationId() const throw() { return a_applicationId; }
+    const std::string & getSessionId() const throw() { return a_sessionId; }
+    const std::string & getResultCode() const throw() { return a_resultCode; }
     const std::string & getMsisdn() const throw() { return a_msisdn; }
     const std::string & getImsi() const throw() { return a_imsi; }
     const std::string & getServiceContextId() const throw() { return a_serviceContextId; }
@@ -88,9 +91,10 @@ class TestCondition {
     // Basic:
     std::string a_code;
     std::string a_bitR;
-    std::string a_resultCode;
-    std::string a_sessionId;
     std::string a_hopByHop;
+    std::string a_applicationId;
+    std::string a_sessionId;
+    std::string a_resultCode;
     std::string a_msisdn;
     std::string a_imsi;
     std::string a_serviceContextId;