X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;ds=sidebyside;f=runtime%2Forg.argeo.slc.detached%2Fsrc%2Fmain%2Fjava%2Forg%2Fargeo%2Fslc%2Fdetached%2Fdrivers%2FMemoryDriver.java;h=f223f4a07854423dc9e994c5c98b463a36eb04f4;hb=e2e168e633c14fa1557ba59261fd900dac1ad70f;hp=f82ef2cbbdddb045a93683519fe39c657665cce1;hpb=1fdb1b4e7b1d2b0cabb6483238301b857a6392fa;p=gpl%2Fargeo-slc.git
diff --git a/runtime/org.argeo.slc.detached/src/main/java/org/argeo/slc/detached/drivers/MemoryDriver.java b/runtime/org.argeo.slc.detached/src/main/java/org/argeo/slc/detached/drivers/MemoryDriver.java
index f82ef2cbb..f223f4a07 100644
--- a/runtime/org.argeo.slc.detached/src/main/java/org/argeo/slc/detached/drivers/MemoryDriver.java
+++ b/runtime/org.argeo.slc.detached/src/main/java/org/argeo/slc/detached/drivers/MemoryDriver.java
@@ -18,9 +18,14 @@ package org.argeo.slc.detached.drivers;
import org.argeo.slc.detached.DetachedAnswer;
import org.argeo.slc.detached.DetachedClient;
+import org.argeo.slc.detached.DetachedDriver;
import org.argeo.slc.detached.DetachedRequest;
-public class MemoryDriver extends AbstractDriver implements DetachedClient {
+/**
+ * Implements both DetachedClient
and DetachedDriver
+ * using memory access
+ */
+public class MemoryDriver implements DetachedClient, DetachedDriver {
private DetachedRequest currentRequest = null;
private DetachedAnswer currentAnswer = null;
@@ -52,4 +57,7 @@ public class MemoryDriver extends AbstractDriver implements DetachedClient {
this.notify();
}
+ public void stop() {
+ // NOTHING
+ }
}