commit | 69d532922072927a3ef75e63d4cda1cf0ae854c8 | [log] [tgz] |
---|---|---|
author | andrewsbrown <andrew.brown@intel.com> | Tue Mar 17 19:37:34 2015 +0100 |
committer | andrewsbrown <andrew.brown@intel.com> | Tue Mar 17 12:08:41 2015 -0700 |
tree | 9765b8c704ebae3308e253429f5485db57a2651d | |
parent | 127bebc682678441ede349c1fbdddbfdb26d36d9 [diff] |
Upgrade API: use base interface, return vanilla Future<Data>, throw exceptions instead of returning null, and improve underlying implementation/tests
This project is a collection of tools to simplify synchronous and asynchronous data transfer over the NDN network. It relies on the NDN Protocol and its associated client library.
With Maven, add the following to your POM:
<dependency> <groupId>com.intel.jndn.utils</groupId> <artifactId>jndn-utils</artifactId> <version>RELEASE</version> <!-- or a specific version --> </dependency>
Use Client
or SegmentedClient
to retrieve data from the network. For example:
Data data1 = Client.getDefault().getSync(face, name); Data data2 = SegmentedClient.getDefault().getSync(face, name);
Copyright © 2015, Intel Corporation.
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.
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 for more details.