Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Hub

Class representing a singleton hub containing multiple communication ports.

Hierarchy

  • Hub

Index

Constructors

Properties

Methods

Constructors

constructor

  • new Hub(): Hub

Properties

Private ports

ports: {}

Type declaration

  • [id: string]: Port

Methods

add

  • add(id: string, port: Port): void

get

  • get(id: string): Port

remove

  • remove(id: string): void

Generated using TypeDoc