UNPKG

test-bed-time-service

Version:

A time service for the test-bed, producing messages with real time, fictive time and scenario duration.

20 lines 767 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const node_test_bed_adapter_1 = require("node-test-bed-adapter"); class TimeServiceBaseState { constructor(timeService) { this.log = node_test_bed_adapter_1.Logger.instance; this.timeService = timeService; } get name() { return node_test_bed_adapter_1.TimeState.Idle; } createTimeMessage() { throw new Error('Method createTimeMessage not implemented by concrete TimeServiceState.'); } transition(_controlMsg) { throw new Error('Method transition not implemented by concrete TimeServiceState.'); } } exports.TimeServiceBaseState = TimeServiceBaseState; //# sourceMappingURL=time-service-states.js.map