Resource servers mainly do two things:
- Convert resource addresses to resource objects, and vice-versa.
- Act as interfaces to repositories (filesystems, the Collective, or CVS).
To do the first, resource servers implement
toResource(String) and
toAddress(Resource).
To do the second, resource servers implement
getParentCategory(Category),
getSubCategories(Category), and
getResources(Category).
In addition, resource servers that interface to remote repositories
must handle timeouts and connections and coordinate with the resource cache manager.
|