23 #ifndef NDN_VALIDATION_REQUEST_HPP
24 #define NDN_VALIDATION_REQUEST_HPP
26 #include "../key-chain.hpp"
33 typedef func_lib::function<void(const ptr_lib::shared_ptr<Data>& data)>
OnVerified;
38 typedef func_lib::function<void(const ptr_lib::shared_ptr<Data>& data)>
OnVerifyFailed;
44 typedef func_lib::function<void(const ptr_lib::shared_ptr<Interest>& interest)>
51 typedef func_lib::function<void(const ptr_lib::shared_ptr<Interest>& interest)>
58 int retry,
int stepCount)
59 : interest_(interest), onVerified_(onVerified), onVerifyFailed_(onVerifyFailed), retry_(retry), stepCount_(stepCount)
66 ptr_lib::shared_ptr<Interest> interest_;
func_lib::function< void(const ptr_lib::shared_ptr< Interest > &interest)> OnVerifyInterestFailed
An OnVerifyInterestFailed function object is used to pass a callback to verifyInterest to report a fa...
Definition: validation-request.hpp:52
Copyright (C) 2013-2016 Regents of the University of California.
Definition: common.hpp:35
func_lib::function< void(const ptr_lib::shared_ptr< Interest > &interest)> OnVerifiedInterest
An OnVerifiedInterest function object is used to pass a callback to verifyInterest to report a succes...
Definition: validation-request.hpp:45
func_lib::function< void(const ptr_lib::shared_ptr< Data > &data)> OnVerified
An OnVerified function object is used to pass a callback to verifyData to report a successful verific...
Definition: validation-request.hpp:33
func_lib::function< void(const ptr_lib::shared_ptr< Data > &data)> OnVerifyFailed
An OnVerifyFailed function object is used to pass a callback to verifyData to report a failed verific...
Definition: validation-request.hpp:38
Definition: validation-request.hpp:54