Commit | Line | Data |
---|---|---|
a10297ba | 1 | import { ProtocolCommand, ProtocolRequestHandler } from '../../types/UIProtocol'; |
de9136ae | 2 | |
4198ad5c | 3 | import AbstractUIService from './AbstractUIService'; |
d1888640 | 4 | import { JsonType } from '../../types/JsonType'; |
4198ad5c JB |
5 | import UIWebSocketServer from '../UIWebSocketServer'; |
6 | ||
f16356b9 | 7 | export default class UIService001 extends AbstractUIService { |
4198ad5c JB |
8 | constructor(uiWebSocketServer: UIWebSocketServer) { |
9 | super(uiWebSocketServer); | |
de9136ae JB |
10 | this.messageHandlers.set(ProtocolCommand.START_TRANSACTION, this.handleStartTransaction.bind(this) as ProtocolRequestHandler); |
11 | this.messageHandlers.set(ProtocolCommand.STOP_TRANSACTION, this.handleStopTransaction.bind(this) as ProtocolRequestHandler); | |
4198ad5c JB |
12 | } |
13 | ||
d1888640 JB |
14 | private handleStartTransaction(payload: JsonType): void { } |
15 | private handleStopTransaction(payload: JsonType): void { } | |
4198ad5c | 16 | } |