Specifications

AVIDdirector-M2M Technical Reference Guide
February 5, 2009 ©AVIDwireless 2004-2009 All Rights Reserved Page 42 of 55
returnStatus = true;
}
return returnStatus;
}
/**
* Stops the currently executing Demo_M2Mlet.
* This will try to do any cleanup possible
*
*/
public final void stop() {
final String NAME = "Demo_M2Mlet.stop";
if (app!= null) Logger.log(NAME,"Stopping");
threadRunning = false;
sensors = null;
lamp = null; greenLed = null; redLed = null; sensors = null;
thread = null; // release ourselves
if (app!= null) Logger.log(NAME,"Stopped");
} // stop
}