11.07.2015 Views

System Introspection for System Analysis on Mobile Devices

System Introspection for System Analysis on Mobile Devices

System Introspection for System Analysis on Mobile Devices

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Each view adds a listener to the communicator whenever the <strong>on</strong>Resume()method is called. To save system resources, this listener is removed fromthe communicator whenever a view is deactivated by calling the <strong>on</strong>Pause()method. The idea behind this principle is to reduce system load by readingmessages <strong>on</strong>ly <strong>on</strong> notify be the communicator.TabLogDisptacher - Initiating new Logging CyclesThe TabLogDispatcher view communicates with the LogDispatcher and requeststhe list of available logging comp<strong>on</strong>ents. To allow the c<strong>on</strong>figurati<strong>on</strong> ofcomp<strong>on</strong>ents to be logged <strong>on</strong> the probe available logging comp<strong>on</strong>ent are presentedas selectable list. By executing a logging cycle the client adds properties<str<strong>on</strong>g>for</str<strong>on</strong>g> each selected comp<strong>on</strong>ent to a message <str<strong>on</strong>g>for</str<strong>on</strong>g>warded to the LogDispatcher.While the logging process is active, all elements <strong>on</strong> the view are deactivated exceptthe stop butt<strong>on</strong>. Executing the stop process sends a stop command to theLogDispatcher. When the current tab view changes the TabLogDispatchterdoes not stop the logging cycle <strong>on</strong> the probe. This allows to use the live observati<strong>on</strong>even if a logging process is active. Figure 6.9 shows the logging view.(a) available logging comp<strong>on</strong>ents(b) Executed logging cycleFigure 6.9: Starting logging cycles - The TabLogDispatcher viewc<strong>on</strong>trols the creati<strong>on</strong> of logging cycles <strong>on</strong> the probe. Ifthe active tab is changed while a logging cycle is active,the logging cycle <strong>on</strong> the probe is not stopped.6.4.2 Java Client <strong>on</strong> Desktop MachineFor using the client <strong>on</strong> a comm<strong>on</strong> computer a prototype of the client was implemented.Due to more resources the applicati<strong>on</strong> shows more in<str<strong>on</strong>g>for</str<strong>on</strong>g>mati<strong>on</strong>combined <strong>on</strong> <strong>on</strong>e screen. Like the mobile client a tabbed navigati<strong>on</strong> is used to48

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!