blob: b766aeef8f167df954ef59cfabed9bcb3ff0272a [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
23© Copyright Intel Corporation. Licensed under LGPLv3, see [LICENSE](https://github.com/01org/jndn-mock/blob/master/LICENSE).