Make Origin-Host the node identifier instead of origin-realm
[anna.git] / example / diameter / launcher / testing / TestStep.hpp
index d239f97..ebded32 100644 (file)
@@ -44,7 +44,7 @@ namespace anna {
 
 class TestCase;
 class TestTimer;
-class RealmNode;
+class OriginHost;
 
 class TestStep {
 
@@ -121,7 +121,7 @@ class TestStepSendxml : public TestStep {
 
   protected:
     // possible end points:
-    RealmNode *a_realmNode;
+    OriginHost *a_originHost;
 
     // Step number reference ('wait for request' step)
     int a_waitForRequestStepNumber;
@@ -132,13 +132,13 @@ class TestStepSendxml : public TestStep {
   public:
     TestStepSendxml(TestCase *testCase) : TestStep(testCase),
       a_expired(false),
-      a_realmNode(NULL),
+      a_originHost(NULL),
       a_waitForRequestStepNumber(-1) {;}
     ~TestStepSendxml() {;}
 
     // setter & getters
-    void setRealmNode(RealmNode *realm) throw() { a_realmNode = realm; }
-    RealmNode *getRealmNode() const throw() { return a_realmNode; }
+    void setOriginHost(OriginHost *host) throw() { a_originHost = host; }
+    OriginHost *getOriginHost() const throw() { return a_originHost; }
     void setWaitForRequestStepNumber(int stepNumber) throw() { a_waitForRequestStepNumber = stepNumber; }
     int getWaitForRequestStepNumber() const throw() { return a_waitForRequestStepNumber; }
     void setMsgDataBlock(const anna::DataBlock &db) throw() { a_message = db; }