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