
public abstract class UICaller extends Caller
UIRequests. The
convention of the IUIBus regarding the registration parameters is the
following:
UICallers provide no registration parametersUIHandlers may pass an array of
UIHandlerProfiles as their initial
subscriptions and can always add new (and remove old) subscriptions
dynamically.busResourceURI, owner, theBus| Modifier | Constructor and Description |
|---|---|
protected |
UICaller(ModuleContext context)
Instantiates a new
UICaller. |
| Modifier and Type | Method and Description |
|---|---|
void |
abortDialog(String dialogID)
Abort dialog.
|
void |
adaptationParametersChanged(UIRequest call,
String changedProp)
Adaptation parameters changed.
|
void |
busDyingOut(AbstractBus bus)
This method is called when the bus is stopped to announce this to the bus
members.
|
abstract void |
communicationChannelBroken()
Method to be called when the communication of the
UICaller with
the IDialogManager is lost. |
abstract void |
dialogAborted(String dialogID,
Resource data)
Dialog aborted.
|
void |
dialogSuspended(String dialogID)
Dialog suspended.
|
String |
getMyID()
|
void |
handleReply(BusMessage msg)
Handle reply.
|
abstract void |
handleUIResponse(UIResponse uiResponse)
Handle
UIResponse - that comes from UIHandler carrying
user input. |
void |
resumeDialog(String dialogID,
Resource dialogData)
Resume dialog.
|
void |
sendUIRequest(UIRequest uiRequest)
Sends
UIRequest. |
close, getComment, getLabel, getType, getURI, setComment, setLabelprotected UICaller(ModuleContext context)
UICaller.context - the module contextpublic void abortDialog(String dialogID)
dialogID - the dialog idpublic final void adaptationParametersChanged(UIRequest call, String changedProp)
call - the UIRequestchangedProp - the changed proppublic final void busDyingOut(AbstractBus bus)
BusMemberbusDyingOut in class BusMemberbus - bus on which this member has been registeredBusMember.busDyingOut(AbstractBus)public abstract void communicationChannelBroken()
UICaller with
the IDialogManager is lost. Any pending request might be resend
at this point. All affected pending dialogs will be
aborted right after this
call (with null data).public abstract void dialogAborted(String dialogID, Resource data)
dialogID - the dialog iddata - the data collected up until abortion, it might be null if the
data could not be retrieved.public final void dialogSuspended(String dialogID)
dialogID - the dialog idpublic final void handleReply(BusMessage msg)
msg - the BusMessagepublic abstract void handleUIResponse(UIResponse uiResponse)
UIResponse - that comes from UIHandler carrying
user input.uiResponse - the UIResponsepublic void resumeDialog(String dialogID, Resource dialogData)
dialogID - the dialog iddialogData - the dialog datapublic final void sendUIRequest(UIRequest uiRequest)
UIRequest.uiRequest - the UIRequestNullPointerException - if the ui request is nullCopyright © 2018 universAAL Consortium. All rights reserved.