Andrew Brown | e96c16d | 2015-02-21 15:44:42 -0800 | [diff] [blame] | 1 | # jndn-utils |
| 2 | |
| 3 | This 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 |
| 6 | With 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 |
| 16 | Use `Client` or `SegmentedClient` to retrieve data from the network. For example: |
| 17 | ``` |
| 18 | Data data1 = Client.getDefault().getSync(face, name); |
| 19 | Data data2 = SegmentedClient.getDefault().getSync(face, name); |
| 20 | ``` |
| 21 | |
| 22 | ## License |
andrewsbrown | 4feb2da | 2015-03-03 16:05:29 -0800 | [diff] [blame] | 23 | Copyright © 2015, Intel Corporation. |
| 24 | |
| 25 | This 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 | |
| 27 | This 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. |