Commit | Line | Data |
---|---|---|
8114d10e | 1 | import { JsonType } from '../../../types/JsonType'; |
675fa8e3 | 2 | import { ProtocolCommand, ProtocolRequestHandler } from '../../../types/UIProtocol'; |
fe94fce0 | 3 | import { AbstractUIServer } from '../AbstractUIServer'; |
4198ad5c | 4 | import AbstractUIService from './AbstractUIService'; |
4198ad5c | 5 | |
f16356b9 | 6 | export default class UIService001 extends AbstractUIService { |
fe94fce0 | 7 | constructor(uiServer: AbstractUIServer) { |
675fa8e3 | 8 | super(uiServer); |
e7aeea18 JB |
9 | this.messageHandlers.set( |
10 | ProtocolCommand.START_TRANSACTION, | |
11 | this.handleStartTransaction.bind(this) as ProtocolRequestHandler | |
12 | ); | |
13 | this.messageHandlers.set( | |
14 | ProtocolCommand.STOP_TRANSACTION, | |
15 | this.handleStopTransaction.bind(this) as ProtocolRequestHandler | |
16 | ); | |
4198ad5c JB |
17 | } |
18 | ||
5cc4b63b JB |
19 | private handleStartTransaction(payload: JsonType): void {} |
20 | private handleStopTransaction(payload: JsonType): void {} | |
4198ad5c | 21 | } |