Open labbenchstudios opened 4 years ago
Added: import programmingtheiot.gda.system.SystemPerformanceManager;
Added clarification.
Parsing of argument is missing. Should be as follows
public GatewayDeviceApp(String[] args) { super();
_Logger.info("Initializing GDA...");
parseArgs(args);
this.sysPerfMgr = new SystemPerformanceManager();
}
Correct. Currently, command line arg parsing is an optional activity and not implemented as part of the Lab Module exercises. For those who'd like to incorporate this, please feel free to do so in your repo!
Description
SystemPerformanceManager
toGatewayDeviceApp
so it can be started and stopped with the application. This work should be implemented within theGatewayDeviceApp
class.Review the README
Estimated effort may vary greatly
Actions
NOTE: The implementation examples depicted here are only one way to implement the requirements listed. Your own implementation may vary of course.
SystemPerformanceManager
class. For example:sysPerfManager
.SystemPerformanceManager
within theGatewayDeviceApp
constructor calledthis.sysPerfManager
.public GatewayDeviceApp(String[] args) { super();
}
NOTE: Additional functionality will be added in a later chapter.
Estimate
Tests
GatewayDeviceAppTest
. The log output should look similar to the following: