New feature to allow to register components with different names for same class:...
[anna.git] / include / anna / diameter.comm / Engine.hpp
index 1c1a12e..d1c276e 100644 (file)
@@ -94,12 +94,6 @@ class LocalServer;
 class Engine : public anna::app::Component {
 public:
 
-  /**
-     Logical name for this anna::app::Component.
-     \return Logical name for this anna::app::Component.
-  */
-  static const char* getClassName() throw() { return "anna::diameter::comm::Engine"; }
-
   /**
      Diameter application node realm name (used to be the site domain name).
 
@@ -619,8 +613,9 @@ public:
 protected:
   /**
      Constructor.
+     @param className Component class name
   */
-  Engine();
+  Engine(const char *className);
 
 
   // INTERNAL CREATORS AND CLOSE METHODS