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