Commit | Line | Data |
---|---|---|
4c3c0d59 | 1 | import { AbstractUIService } from './AbstractUIService'; |
a37fc6dc | 2 | import { type ProtocolRequestHandler, ProtocolVersion } from '../../../types'; |
4c3c0d59 | 3 | import type { AbstractUIServer } from '../AbstractUIServer'; |
4198ad5c | 4 | |
268a74bb | 5 | export class UIService001 extends AbstractUIService { |
fe94fce0 | 6 | constructor(uiServer: AbstractUIServer) { |
33cea517 | 7 | super(uiServer, ProtocolVersion['0.0.1']); |
a37fc6dc | 8 | for (const procedureName of AbstractUIService.ProcedureNameToBroadCastChannelProcedureNameMapping.keys()) { |
d56ea27c | 9 | this.requestHandlers.set( |
a37fc6dc | 10 | procedureName, |
5edd8ba0 | 11 | this.handleProtocolRequest.bind(this) as ProtocolRequestHandler, |
d56ea27c JB |
12 | ); |
13 | } | |
89b7a234 | 14 | } |
4198ad5c | 15 | } |