#include <face-id-fetcher.hpp>
|
static void | start (ndn::Face &face, ndn::nfd::Controller &controller, const std::string &input, bool allowCreate, const SuccessCallback &onSucceed, const FailureCallback &onFail) |
| obtain FaceId from input More...
|
|
Definition at line 41 of file face-id-fetcher.hpp.
void nfd::tools::nfdc::FaceIdFetcher::start |
( |
ndn::Face & |
face, |
|
|
ndn::nfd::Controller & |
controller, |
|
|
const std::string & |
input, |
|
|
bool |
allowCreate, |
|
|
const SuccessCallback & |
onSucceed, |
|
|
const FailureCallback & |
onFail |
|
) |
| |
|
static |
obtain FaceId from input
- Parameters
-
face | Reference to the Face that should be used to fetch data |
controller | Reference to the controller that should be used to sign the Interest |
input | User input, either FaceId or FaceUri |
allowCreate | Whether creating face is allowed |
onSucceed | Callback to be fired when faceId is obtained |
onFail | Callback to be fired when an error occurs |
Definition at line 53 of file face-id-fetcher.cpp.