added memory monitor stubs to avr memory

This commit is contained in:
Fredrik Osterlind 2012-03-09 14:57:54 +01:00
parent f8134186da
commit 295bb8b70f
2 changed files with 13 additions and 5 deletions

View File

@ -170,4 +170,17 @@ public class AvrMoteMemory implements MoteMemory, AddressMemory {
public boolean variableExists(String varName) {
return memoryMap.getLocation(varName) != null;
}
public boolean addMemoryMonitor(int address, int size, MemoryMonitor mm) {
logger.warn("Not implemented");
return false;
}
public void removeMemoryMonitor(int address, int size, MemoryMonitor mm) {
}
public int parseInt(byte[] memorySegment) {
logger.warn("Not implemented");
return 0;
}
}

View File

@ -270,9 +270,4 @@ public class MicaZMote extends AbstractEmulatedMote implements Mote {
public String toString() {
return "MicaZ " + getID();
}
public MemoryMonitor createMemoryMonitor(MemoryEventHandler meh) {
logger.fatal("Not implemented");
return null;
}
}