eecdcd34792da1ef2bf6beae1f4cff19595ab704
1 import { ProtocolCommand
, ProtocolRequestHandler
} from
'../../../types/UIProtocol';
3 import AbstractUIService from
'./AbstractUIService';
4 import { JsonType
} from
'../../../types/JsonType';
5 import UIWebSocketServer from
'../UIWebSocketServer';
7 export default class UIService001
extends AbstractUIService
{
8 constructor(uiServer
: UIWebSocketServer
) {
10 this.messageHandlers
.set(
11 ProtocolCommand
.START_TRANSACTION
,
12 this.handleStartTransaction
.bind(this) as ProtocolRequestHandler
14 this.messageHandlers
.set(
15 ProtocolCommand
.STOP_TRANSACTION
,
16 this.handleStopTransaction
.bind(this) as ProtocolRequestHandler
20 private handleStartTransaction(payload
: JsonType
): void {}
21 private handleStopTransaction(payload
: JsonType
): void {}