Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • HostedPluginServerImpl

Implements

Index

Constructors

Properties

_ignoredPlugins?: Set<`${string}.${string}@${string}`>
client: undefined | HostedPluginClient
extPluginAPIContributions: ContributionProvider<ExtPluginApiProvider>
localizationService: HostedPluginLocalizationService
logger: ILogger
pluginDeployer: PluginDeployerImpl
pluginVersions: Map<`${string}.${string}`, string> = ...
toDispose: DisposableCollection = ...
uninstallationManager: PluginUninstallationManager

Accessors

  • get ignoredPlugins(): Set<`${string}.${string}@${string}`>

Methods

  • dispose(): void
  • getDeployedPluginIds(): Promise<`${string}.${string}@${string}`[]>
  • getUninstalledPluginIds(): Promise<readonly `${string}.${string}@${string}`[]>
  • init(): void
  • isRelevantPlugin(identifier: `${string}.${string}@${string}`): boolean
  • Ensures that the plugin was not uninstalled when this session was started and that it matches the first version of the given plugin seen by this session.

    The deployment system may have multiple versions of the same plugin available, but a single session should only ever activate one of them.

    Parameters

    • identifier: `${string}.${string}@${string}`

    Returns boolean

  • onMessage(pluginHostId: string, message: Uint8Array): Promise<void>