From: heeyoung Date: Mon, 15 Jun 2015 07:31:41 +0000 (+0900) Subject: Web : modify message protocol position X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a7f2fb1b0def1b3cf1dad1b5b1b106927828088a;p=sdk%2Ftools%2Fdynamic-analyzer.git Web : modify message protocol position Change-Id: I444138d14b6d5b8e49ac64b53a8e97be072c4e47 Signed-off-by: heeyoung --- diff --git a/org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/swap/model/data/LogDataFactory.java b/org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/swap/model/data/LogDataFactory.java index ba2b824..c975603 100644 --- a/org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/swap/model/data/LogDataFactory.java +++ b/org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/swap/model/data/LogDataFactory.java @@ -62,16 +62,6 @@ public class LogDataFactory { case ProtocolConstants.MSG_DATA_ERROR: // protocol 3.0 output = new ErrorData(); break; - case ProtocolConstants.MSG_APP_STARTUP: // protocol 4.0 - output = new AppStartupData(); - break; - case ProtocolConstants.MSG_WEB_APP_STARTUP: // protocol 4.0 - output = new WebAppStartupData(); - break; - case ProtocolConstants.MSG_WEB_FUNCTION_ENTRY: // protocol 4.0 - case ProtocolConstants.MSG_WEB_FUNCTION_EXIT: // protocol 4.0 - output = new WebProfileData(); - break; case ProtocolConstants.MSG_FUNCTION_BODY: output = new FunctionBodyInstrumentData(); break; @@ -92,6 +82,16 @@ public class LogDataFactory { case ProtocolConstants.MSG_PROCESS_COMM: // protocol 3.0 output = new ProcessAddInfoData(); break; + case ProtocolConstants.MSG_APP_STARTUP: // protocol 4.0 + output = new AppStartupData(); + break; + case ProtocolConstants.MSG_WEB_APP_STARTUP: // protocol 4.0 + output = new WebAppStartupData(); + break; + case ProtocolConstants.MSG_WEB_FUNCTION_ENTRY: // protocol 4.0 + case ProtocolConstants.MSG_WEB_FUNCTION_EXIT: // protocol 4.0 + output = new WebProfileData(); + break; default: // unknown message Logger.error("Unknown message ID(%d)", msgID); break;