cpp/src/segment-fetcher.hpp
/**
	   * Create a new SegmentFetcher to use the Face. See the static fetch method
	   * for details. If validatorKeyChain is not null, use it and ignore
	   * verifySegment. After creating the SegmentFetcher, call fetchFirstSegment.
	   */
Create a new SegmentFetcher to use the Face. See the static fetch method
for details. If validatorKeyChain is not null, use it and ignore
verifySegment.
Create a new SegmentFetcher to use the Face . See the static fetch method for details . If validatorKeyChain is not null use it and ignore verifySegment .
SegmentFetcher
	    (ndn::Face& face, ndn::KeyChain* validatorKeyChain, const VerifySegment& verifySegment,
	     const OnComplete& onComplete, const OnError& onError)
	  : face_(face), validatorKeyChain_(validatorKeyChain), verifySegment_(verifySegment),
	    onComplete_(onComplete), onError_(onError)
	  {
	  }
SegmentFetcher ( ndn :: Face & face , ndn :: KeyChain * validatorKeyChain , const VerifySegment & verifySegment , const OnComplete & onComplete , const OnError & onError ) : face_ ( face ) , validatorKeyChain_ ( validatorKeyChain ) , verifySegment_ ( verifySegment ) , onComplete_ ( onComplete ) , onError_ ( onError ) { }
Create a new SegmentFetcher to use the Face.
Create a new SegmentFetcher to use the Face .