| ARRIS Enterprises, Inc. Confidential Information | ||||||||||||||||||||||||||
|
IPlatformComponent Interface Reference DescriptionThe IPlatformComponent interface must be implemented by all components in the platform. A component must register this interface with the IPlatformManager::ReportComponent method. Through this interface, the component receives information about the general system execution state.
Member Function Documentation
The OnLoad function is called when all components in the platform have been started and have registered with the IPlatformManager interface. After having received OnLoad, applications may be started on the system.
The OnUnload function is called to platform components as a signal do cleanup work, for example terminate applications or write modified non-volatile data to flash before reboot. Regardless whether or not the component has cleanup work to do, the component must always acknowledge this event by calling IPlatformService::UnloadDone when finished.
The Ping function tells the platform component to perform a check that it is working properly. The component acknowledges by answering IPlatformService::ReportPing. If the component do not respond within the timeout the entire platform will be restarted. | ||||||||||||||||||||||||||