updated some references to old getLastLogMessages()
This commit is contained in:
parent
66e361058a
commit
2a2b764ee6
|
@ -26,7 +26,7 @@
|
||||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* $Id: MspStackWatcher.java,v 1.3 2008/02/12 15:13:11 fros4943 Exp $
|
* $Id: MspStackWatcher.java,v 1.4 2008/10/03 15:18:48 fros4943 Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package se.sics.cooja.mspmote.plugins;
|
package se.sics.cooja.mspmote.plugins;
|
||||||
|
@ -109,7 +109,7 @@ public class MspStackWatcher extends VisPlugin {
|
||||||
/*if (logObserver == null && mspMote.getInterfaces().getLog() != null) {
|
/*if (logObserver == null && mspMote.getInterfaces().getLog() != null) {
|
||||||
mspMote.getInterfaces().getLog().addObserver(logObserver = new Observer() {
|
mspMote.getInterfaces().getLog().addObserver(logObserver = new Observer() {
|
||||||
public void update(Observable obs, Object obj) {
|
public void update(Observable obs, Object obj) {
|
||||||
stackUI.addNote(mspMote.getInterfaces().getLog().getLastLogMessages());
|
stackUI.addNote(mspMote.getInterfaces().getLog().getLastLogMessage());
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}*/
|
}*/
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* $Id: ContikiLog.java,v 1.4 2008/10/03 10:39:49 fros4943 Exp $
|
* $Id: ContikiLog.java,v 1.5 2008/10/03 15:18:48 fros4943 Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package se.sics.cooja.contikimote.interfaces;
|
package se.sics.cooja.contikimote.interfaces;
|
||||||
|
@ -60,7 +60,7 @@ import se.sics.cooja.interfaces.Log;
|
||||||
* <p>
|
* <p>
|
||||||
* This observable is changed and notifies observers whenever a log message has
|
* This observable is changed and notifies observers whenever a log message has
|
||||||
* been received from the core (checked after each tick). The public method
|
* been received from the core (checked after each tick). The public method
|
||||||
* getLastLogMessages gives access to the last log message(s).
|
* getLastLogMessage gives access to the last log message.
|
||||||
*
|
*
|
||||||
* @author Fredrik Osterlind
|
* @author Fredrik Osterlind
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* $Id: LogScriptEngine.java,v 1.3 2008/09/22 16:18:22 joxe Exp $
|
* $Id: LogScriptEngine.java,v 1.4 2008/10/03 15:18:48 fros4943 Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package se.sics.cooja.plugins;
|
package se.sics.cooja.plugins;
|
||||||
|
@ -181,7 +181,7 @@ public class LogScriptEngine {
|
||||||
"if (obj != null) {" +
|
"if (obj != null) {" +
|
||||||
" mote = obj;" +
|
" mote = obj;" +
|
||||||
" id = mote.getInterfaces().getMoteID().getMoteID();" +
|
" id = mote.getInterfaces().getMoteID().getMoteID();" +
|
||||||
" msg = mote.getInterfaces().getLog().getLastLogMessages();" +
|
" msg = mote.getInterfaces().getLog().getLastLogMessage();" +
|
||||||
" node.setMoteMsg(mote, msg);" +
|
" node.setMoteMsg(mote, msg);" +
|
||||||
"} else {" +
|
"} else {" +
|
||||||
" return;" +
|
" return;" +
|
||||||
|
|
Loading…
Reference in a new issue