public class UnreliableService extends Object implements DirectoryService
Constructor and Description |
---|
UnreliableService(DirectoryService service)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Directory[] |
getChildren(Directory directory)
Get the children of a directory.
|
Directory |
getRoot()
Get the root directory.
|
public UnreliableService(DirectoryService service)
public Directory getRoot()
getRoot
in interface DirectoryService
public Directory[] getChildren(Directory directory) throws DirectoryServiceException
getChildren
in interface DirectoryService
directory
- directory to get children forDirectoryServiceException
Copyright © 2015. All rights reserved.