"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const StandaloneDatabaseApplication_1 = require("./StandaloneDatabaseApplication");
process.on('message', function (message) {
    switch (message.type) {
        case 'START_SERVER':
            const app = new StandaloneDatabaseApplication_1.StandaloneDatabaseApplication(message.data.host, message.data.port);
            app.start().then(() => {
                process.send({ type: 'SERVER_STARTED' });
            });
    }
});
//# sourceMappingURL=Bootstrap.js.map