|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object spin.demo.complex.UnreliableService
public class UnreliableService
Service that adds a unreliability to another service.
Constructor Summary | |
---|---|
UnreliableService(DirectoryService service)
Constructor. |
Method Summary | |
---|---|
Directory[] |
getChildren(Directory directory)
Get the children of a directory. |
Directory |
getRoot()
Get the root directory. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UnreliableService(DirectoryService service)
Method Detail |
---|
public Directory getRoot()
getRoot
in interface DirectoryService
public Directory[] getChildren(Directory directory) throws DirectoryServiceException
getChildren
in interface DirectoryService
directory
- directory to get children for
DirectoryServiceException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |