Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ConnectionExtImpl

Implementation of connection system of the plugin API. It allows to communicate with main side to send and read messages.

Hierarchy

  • ConnectionExtImpl

Implements

Index

Constructors

constructor

Properties

Private connections

connections: Map<string, PluginConnection> = ...

Private proxy

Methods

$createConnection

  • $createConnection(id: string): Promise<void>

$deleteConnection

  • $deleteConnection(id: string): Promise<void>

$sendMessage

  • $sendMessage(id: string, message: string): Promise<void>

Protected doCreateConnection

doEnsureConnection

ensureConnection