org.ourgrid.peer.ebgum
Class FakeGumFacade
java.lang.Object
org.ourgrid.peer.ebgum.EBGumFacade
org.ourgrid.peer.ebgum.FakeGumFacade
- All Implemented Interfaces:
- EBGum
public class FakeGumFacade
- extends EBGumFacade
This is a fake facade used only for tests.
Methods inherited from class org.ourgrid.peer.ebgum.EBGumFacade |
changeFilePermissions, createPlaypen, createStorageDirectory, fileExists, getFile, getGumSpec, getRemoteFileDigest, getRemoteFileLastModification, getRemoteFileLength, getResult, getStatus, getStorageDirectory, isStarted, putFile, remoteExecute, start, stop |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FakeGumFacade
public FakeGumFacade(EBGum gum,
ShutdownEventEngine engine)
FakeGumFacade
public FakeGumFacade(GumSpec spec)
getID
public GumID getID()
- Description copied from interface:
EBGum
- Retrieves the gum identification cached in the peer
- Specified by:
getID
in interface EBGum
- Overrides:
getID
in class EBGumFacade
- Returns:
- the gum identification cached in the peer
- See Also:
EBGum.getID()
kill
public void kill(EventQueue responseQueue,
ExecutorHandle taskHandle)
getGuMSpec
public void getGuMSpec(EventQueue responseQueue)
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in class java.lang.Object
startReplica
public void startReplica(EventQueue responseQueue)
- Specified by:
startReplica
in interface EBGum
- Overrides:
startReplica
in class EBGumFacade
- See Also:
EBGum.startReplica(EventQueue)
stopReplica
public void stopReplica(EventQueue responseQueue)
- Specified by:
stopReplica
in interface EBGum
- Overrides:
stopReplica
in class EBGumFacade
- See Also:
EBGum.stopReplica(EventQueue)