@eclipse-ditto/ditto-javascript-client-dom
Version:
DOM implementation of Eclipse Ditto JavaScript API to be used in browsers.
25 lines • 862 B
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
*/
export 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);
}
}
//# sourceMappingURL=ditto-client.js.map