跳到主要内容
版本:Next

IServiceFactory <Client>

Implemented by

Index

Methods

createInstance

  • createInstance(config: any, clientId?: string): Promise<Client>

get

  • get(clientId: string): Client

getClientKeys

  • getClientKeys(): string[]

getClientPriority

  • getClientPriority(clientName: string): string

getClients

  • getClients(): Map<string, Client>

getDefaultClientName

  • getDefaultClientName(): string

getName

  • getName(): string

has

  • has(clientId: string): boolean

isHighPriority

  • isHighPriority(clientName: string): boolean

isLowPriority

  • isLowPriority(clientName: string): boolean

isMediumPriority

  • isMediumPriority(clientName: string): boolean

stop

  • stop(): Promise<void>