spin.demo.complex
Interface DirectoryService

All Known Implementing Classes:
FileService, LatencyService, UnreliableService

public interface DirectoryService

A common interface for a directory service.


Method Summary
 Directory[] getChildren(Directory directory)
          Get the children of a directory.
 Directory getRoot()
          Get the root directory.
 

Method Detail

getRoot

Directory getRoot()
Get the root directory.

Returns:
the root directory

getChildren

Directory[] getChildren(Directory directory)
                        throws DirectoryServiceException
Get the children of a directory.

Parameters:
directory - directory to get children for
Returns:
children
Throws:
DirectoryServiceException


Copyright © 2007. All Rights Reserved.