|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface UpdateController
A control interface through which modules can send information back
to the core asynchronously. This should not be implemented by modules
directly, but is rather passed to UpdateService objects
during their initialization
UpdateService.initialize(com.mmoui.manager.services.UpdateController)| Method Summary | |
|---|---|
ModuleLogger |
getLog()
Gets a ModuleLogger object which can be used by
the module to log information to the global log |
void |
insertUpdatable(Updatable updatable)
Asynchronously inserts an updatable into the list to be handled. |
void |
reset(Updatable updatable)
Requests a reset of this Updatable or module. |
| Method Detail |
|---|
ModuleLogger getLog()
ModuleLogger object which can be used by
the module to log information to the global log
ModuleLogger object with which to log
informationModuleLoggervoid reset(Updatable updatable)
Requests a reset of this Updatable or module.
This will trigger an interrupt on the specified Updatable
object, followed by a cleanup, and then the Updatable's
update process will be restarted. This is useful for when the
Updatable's information has been significantly changed
and needs to refresh or restart its update process.
If the Updatable specified is null, then
the entire module will be re-initialized. All Updatable
objects will be shut down in the manner previously described, then
the module will restart its process starting with initialize(),
enumerateItems(), and then proceed as per normal
updatable - the Updatable object which should be
reset, or null if the entire module should be resetvoid insertUpdatable(Updatable updatable)
enumerateItems() and is designed for
single insertion only for exceptional cases where a new addon is
identified during user interaction.
updatable - the Updatable object which should be
inserted into the update queue
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||