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[] {}); }
public void addManager(Envoy objManager) { this.objManager = objManager; }