1 | ;
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | exports.Bridge = void 0;
|
4 | const Accessory_1 = require("./Accessory");
|
5 | /**
|
6 | * Bridge is a special type of HomeKit Accessory that hosts other Accessories "behind" it. This way you
|
7 | * can simply publish() the Bridge (with a single HAPServer on a single port) and all bridged Accessories
|
8 | * will be hosted automatically, instead of needed to publish() every single Accessory as a separate server.
|
9 | *
|
10 | * @group Accessory
|
11 | */
|
12 | class Bridge extends Accessory_1.Accessory {
|
13 | constructor(displayName, UUID) {
|
14 | super(displayName, UUID);
|
15 | this._isBridge = true;
|
16 | }
|
17 | }
|
18 | exports.Bridge = Bridge;
|
19 | //# sourceMappingURL=Bridge.js.map |
\ | No newline at end of file |