@eclipse-ditto/ditto-javascript-client-node
Version:
Node.js(r) implementation of Eclipse Ditto JavaScript API.
29 lines • 1.02 kB
JavaScript
;
/*!
* Copyright (c) 2019 Contributors to the Eclipse Foundation
*
* See the NOTICE file(s) distributed with this work for additional
* information regarding copyright ownership.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0
*
* SPDX-License-Identifier: EPL-2.0
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.AbstractDittoClient = void 0;
class AbstractDittoClient {
constructor(builder, handles) {
this.builder = builder;
this.handles = handles;
}
getFeaturesHandle(thingId, customBuildContext) {
return this.handles.featuresHandle(this.builder, thingId, customBuildContext);
}
getThingsHandle(customBuildContext) {
return this.handles.thingsHandle(this.builder, customBuildContext);
}
}
exports.AbstractDittoClient = AbstractDittoClient;
//# sourceMappingURL=ditto-client.js.map