org.ccnx.ccn.profiles.namespace.NamespaceManager Class Reference

Maintains a list of existing policy marker prefixes. More...

List of all members.

Static Public Member Functions

static ContentName findPolicyControlledNamespace (ContentName controlledName, CCNHandle handle) throws IOException
 Find the closest policy controlled namespace that cover operations on a specific name.
static synchronized void clearSearchedPathCache ()
static synchronized void addToSearchedPathCache (Set< ContentName > newPaths)
static synchronized void removeFromSearchedPathCache (ContentName path)
static boolean cacheContainsPath (ContentName path)
static boolean inProtectedNamespace (ContentName namespace, ContentName content)

Static Protected Attributes

static Set< ContentName_searchedPathCache = new HashSet<ContentName>()
static Set< ContentName_policyControlledNamespaces = new HashSet<ContentName>()


Detailed Description

Maintains a list of existing policy marker prefixes.

Member Function Documentation

static ContentName org.ccnx.ccn.profiles.namespace.NamespaceManager.findPolicyControlledNamespace ( ContentName  controlledName,
CCNHandle  handle 
) throws IOException [static]

Find the closest policy controlled namespace that cover operations on a specific name.

If none exists in memory than this searches up the name tree.

Exceptions:
IOException 


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