New feature to allow to register components with different names for same class:...
[anna.git] / include / anna / diameter / codec / Engine.hpp
index 4485319..1f106c6 100644 (file)
@@ -43,9 +43,11 @@ class Engine : public EngineImpl {
 
 public:
 
-  static const char* getClassName() throw() { return "anna::diameter::codec::Engine"; }
-
-  Engine() : EngineImpl(getClassName()) {;}
+  /**
+     Constructor
+     @param className Logical name for the class.
+  */
+  Engine(const char *className) : EngineImpl(className) {;}
 
   void releaseAvp(Avp* avp) throw() {
     if(avp == NULL) return;