Ignore:
Timestamp:
Jun 25, 2009, 11:06:52 AM (15 years ago)
Author:
Christoph Mayer
Message:

-StartupWrapper bisschen umgeschrieben, erste Schritte für sauberes runterfahren

File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/ariba/utility/system/StartupWrapper.h

    r4462 r4483  
    4444#include "SystemQueue.h"
    4545#include "StartupInterface.h"
    46 #include "../configuration/Configuration.h"
     46#include "ariba/utility/configuration/Configuration.h"
     47#include "BlockingMethod.h"
    4748
    4849#ifdef UNDERLAY_OMNET
     
    6970class StartupWrapper : public SystemEventListener {
    7071public:
    71         static void initSystem();
     72        static void startSystem();
     73        static void stopSystem();
     74
    7275        static void initConfig(string filename);
    7376        static void startup(StartupInterface* service, bool block = true);
     
    9699        void waitForExit();
    97100        StartupInterface* service;
     101
     102        class AsyncShutdown : public BlockingMethod {
     103        public:
     104                AsyncShutdown(StartupInterface* _service);
     105        protected:
     106                virtual void dispatchFunction();
     107                virtual void blockingFunction(); // unused
     108        private:
     109                StartupInterface* service;
     110        };
     111
    98112};
    99113
Note: See TracChangeset for help on using the changeset viewer.