1 import { ProtocolVersion
} from
'../../../types';
2 import { type AbstractUIServer
, type AbstractUIService
, UIService001
} from
'../../internal';
4 export class UIServiceFactory
{
5 private constructor() {
9 public static getUIServiceImplementation(
10 version
: ProtocolVersion
,
11 uiServer
: AbstractUIServer
12 ): AbstractUIService
{
14 case ProtocolVersion
['0.0.1']:
15 return new UIService001(uiServer
);