Package spin.demo.complex
Interface DirectoryService
- All Known Implementing Classes:
FileService
,LatencyService
,UnreliableService
public interface DirectoryService
A common interface for a directory service.
-
Method Summary
Modifier and TypeMethodDescriptiongetChildren
(Directory directory) Get the children of a directory.getRoot()
Get the root directory.
-
Method Details
-
getRoot
Directory getRoot()Get the root directory.- Returns:
- the root directory
-
getChildren
Get the children of a directory.- Parameters:
directory
- directory to get children for- Returns:
- children
- Throws:
DirectoryServiceException
-