blob: dec3260fb8f223faf4a1d3d952a20f47b0f90c37 [file] [log] [blame] [view]
Andrew Browne96c16d2015-02-21 15:44:42 -08001# jndn-utils
2
3This project is a collection of tools to simplify synchronous and asynchronous data transfer over the NDN network. It relies on the [NDN Protocol](https://named-data.net) and its associated [client library](https://github.com/named-data/jndn).
4
5## Install
6With Maven, add the following to your POM:
7```
8<dependency>
9 <groupId>com.intel.jndn.utils</groupId>
10 <artifactId>jndn-utils</artifactId>
11 <version>RELEASE</version> <!-- or a specific version -->
12</dependency>
13```
14
15## Use
16Use `Client` or `SegmentedClient` to retrieve data from the network. For example:
17```
18Data data1 = Client.getDefault().getSync(face, name);
19Data data2 = SegmentedClient.getDefault().getSync(face, name);
20```
21
22## License
andrewsbrown4feb2da2015-03-03 16:05:29 -080023Copyright © 2015, Intel Corporation.
24
25This program is free software; you can redistribute it and/or modify it under the terms and conditions of the GNU Lesser General Public License, version 3, as published by the Free Software Foundation.
26
27This program is distributed in the hope it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the [GNU Lesser General Public License](https://github.com/01org/jndn-utils/blob/master/LICENSE) for more details.