public class OPublisher extends UICaller
busResourceURI, owner, theBus
Modifier | Constructor and Description |
---|---|
protected |
OPublisher(ModuleContext context) |
Modifier and Type | Method and Description |
---|---|
void |
communicationChannelBroken()
Method to be called when the communication of the
UICaller with
the IDialogManager is lost. |
void |
dialogAborted(String dialogID,
Resource data)
Dialog aborted.
|
Form |
getAllRespForm(String[] formsNames,
String[] formsResults) |
void |
handleUIResponse(UIResponse event)
Handle
UIResponse - that comes from UIHandler carrying
user input. |
void |
showAllRespDialog(User user,
String[] formsNames,
String[] formsResults) |
long |
showDynamicDialog(User user,
int size) |
long |
showRandomBurst(User user,
int size) |
void |
showRandomDialog(User user) |
abortDialog, adaptationParametersChanged, busDyingOut, dialogSuspended, getMyID, handleReply, resumeDialog, sendUIRequest
close, getComment, getLabel, getType, getURI, setComment, setLabel
protected OPublisher(ModuleContext context)
public void communicationChannelBroken()
UICaller
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).communicationChannelBroken
in class UICaller
public void showRandomDialog(User user)
public long showRandomBurst(User user, int size)
public long showDynamicDialog(User user, int size)
public void showAllRespDialog(User user, String[] formsNames, String[] formsResults)
public void dialogAborted(String dialogID, Resource data)
UICaller
dialogAborted
in class UICaller
dialogID
- the dialog iddata
- the data collected up until abortion, it might be null if the
data could not be retrieved.public void handleUIResponse(UIResponse event)
UICaller
UIResponse
- that comes from UIHandler
carrying
user input.handleUIResponse
in class UICaller
event
- the UIResponse
Copyright © 2018 universAAL Consortium. All rights reserved.