예제 #1
0
        private static ServiceBase[] initializeService()
        {
            Config eConfig = new Config();
            Logger logger  = new Logger(eConfig);

            Envoy eService = new Envoy(eConfig, logger);

            if (eService.isReadyToBeStarted)
            {
                return(new ServiceBase[] { eService });
            }

            return(new ServiceBase[] {});
        }
예제 #2
0
 public void addManager(Envoy objManager)
 {
     this.objManager = objManager;
 }