File tree Expand file tree Collapse file tree 2 files changed +16
-2
lines changed Expand file tree Collapse file tree 2 files changed +16
-2
lines changed Original file line number Diff line number Diff line change 1+ // Copyright 2024 Contributors to the Eclipse Foundation. All rights reserved.
2+ // Use of this source code is governed by a BSD-style
3+ // license that can be found in the LICENSE file.
4+ //
5+ // SPDX-License-Identifier: BSD-3-Clause
6+
7+ // ignore_for_file: avoid_print
8+
9+ import "package:dart_wot/binding_ndn.dart" ;
10+ import "package:dart_wot/core.dart" ;
11+
12+ Future <void > main () async {
13+ final servient = Servient (clientFactories: [NdnClientFactory (ndnConfig)]);
14+ }
Original file line number Diff line number Diff line change @@ -9,8 +9,8 @@ import "ndn_config.dart";
99import "ndn_consumer.dart" ;
1010
1111/// A [ProtocolClientFactory] that produces
12- class NdnConsumerFactory implements ProtocolClientFactory {
13- NdnConsumerFactory (this .ndnConfig);
12+ class NdnClientFactory implements ProtocolClientFactory {
13+ NdnClientFactory (this .ndnConfig);
1414
1515 /// The [NdnConfig] acting as the blueprint for creating
1616 final NdnConfig ndnConfig;
You can’t perform that action at this time.
0 commit comments