Dynamic realm registration
[anna.git] / include / anna / diameter.comm / Engine.hpp
index 92a23e7..8ec2757 100644 (file)
@@ -639,6 +639,15 @@ public:
   void resetStatistics() throw();
 
 
+  /**
+   * Engine lazy initialization. Used if the engine is created when application is already running; for example
+   * on dynamic realms registration. At the moment is not actually needed (nothing is done at initialization),
+   * but it is recommended to start the component and set its state as 'running' from the point of view of the
+   * application.
+   */
+  void lazyInitialize() throw(RuntimeException);
+
+
 protected:
   /**
      Constructor.
@@ -742,7 +751,7 @@ private:
   void eraseDeprecatedIdleEntities() throw();
 
   // Component:
-  void do_initialize() throw() {;}
+  void do_initialize() throw(anna::RuntimeException);
   void do_stop() throw();
 
   // Integrity: