|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AppSignalHandler
This interface represents a handler that can be registered in order to receive a notification whenever the XAIT version changes. An application which has a MonitorAppPermission("registrar") may have a class implementing this interface, and may set it as the AppSignalHandler using the AppManagerProxy.
| Method Summary | |
|---|---|
boolean |
notifyXAITUpdate(OcapAppAttributes[] newApps)
Notifies the registered handler that the version of the signaled XAIT has changed. |
| Method Detail |
|---|
boolean notifyXAITUpdate(OcapAppAttributes[] newApps)
When the return value is true the implementation SHALL process the corresponding XAIT as required by the OCAP specification. When the return value is false the implementation SHALL ignore the corresponding XAIT and treat it as if it were never received. Subsequent XAIT receipt with the same version as the ignored table is treated as a new version and notified using this method.
newApps - A list of instances of the OCAPAppAttributes class
associated with all the applications whose details
are listed in the new version of the XAIT.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||