public class UIPreferencesBufferPoller extends Object implements IUIPreferencesBuffer
IDialogManager
does not have to retrieve it from the Profiling Server
when each UIRequest
arrives but instead it retrieves it in some
configured time interval.Constructor and Description |
---|
UIPreferencesBufferPoller(ModuleContext mcontext) |
Modifier and Type | Method and Description |
---|---|
void |
addUser(User user) |
UIPreferencesSubProfile |
changeCurrentUIPreferencesSubProfileForUser(User key,
UIPreferencesSubProfile uiPrefSubprof) |
UIPreferencesSubProfile |
getUIPreferencesSubprofileForUser(User user) |
void |
stop() |
public UIPreferencesBufferPoller(ModuleContext mcontext)
public void addUser(User user)
addUser
in interface IUIPreferencesBuffer
user
- User
the user to be monitored.public void stop()
stop
in interface IUIPreferencesBuffer
public UIPreferencesSubProfile getUIPreferencesSubprofileForUser(User user)
getUIPreferencesSubprofileForUser
in interface IUIPreferencesBuffer
UIPreferencesSubProfile
or nullpublic UIPreferencesSubProfile changeCurrentUIPreferencesSubProfileForUser(User key, UIPreferencesSubProfile uiPrefSubprof)
changeCurrentUIPreferencesSubProfileForUser
in interface IUIPreferencesBuffer
UIPreferencesSubProfile
that was associated with
the User
or null if there was no mappingCopyright © 2015 universAAL Consortium. All Rights Reserved.