org.ccnx.ccn.profiles.search.LatestVersionPathfinder Class Reference

Like ObjectPathfinder, this subclass searches for a content object with a specific postfix along the path from a starting point to a stopping point. More...

Inheritance diagram for org.ccnx.ccn.profiles.search.LatestVersionPathfinder:

org.ccnx.ccn.profiles.search.ObjectPathfinder org.ccnx.ccn.profiles.search.Pathfinder org.ccnx.ccn.CCNContentHandler

List of all members.

Public Member Functions

 LatestVersionPathfinder (ContentName startingPoint, ContentName stoppingPoint, ContentName desiredPostfix, boolean closestOnPath, boolean goneOK, int timeout, Set< ContentName > searchedPathCache, CCNHandle handle) throws IOException
synchronized SearchResults waitForResults ()


Detailed Description

Like ObjectPathfinder, this subclass searches for a content object with a specific postfix along the path from a starting point to a stopping point.

We can search for matching content that is either closest or furthest from the starting point.

When the closest (or furthest) matching content object is found, LatestVersionPathfinder retrieves the latest version of that object. If the latest version is not GONE (or if goneOK is True), the latest version is returned. Otherwise, we update the starting point or stopping point (depending on _closestOnPath) and start a new search if the new range is non empty.


The documentation for this class was generated from the following file:

Generated on Thu Feb 16 00:45:04 2012 for Content-Centric Networking in Java by  doxygen 1.5.6