Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AbstractConnectionProvider<AbstractOptions> Abstract

Factor common logic according to ElectronIpcConnectionProvider and WebSocketConnectionProvider. This class handles channels in a somewhat generic way.

Type Parameters

  • AbstractOptions extends object

Hierarchy

Index

Constructors

Properties

channelMultiplexer?: ChannelMultiplexer
onIncomingMessageActivityEmitter: Emitter<void> = ...
reconnectChannelOpeners: (() => Promise<void>)[] = []

Accessors

  • get onIncomingMessageActivity(): Event<void>

Methods

  • initializeMultiplexer(): void
  • openChannel(path: string, handler: ((channel: Channel) => void), options?: AbstractOptions): Promise<void>