org.universAAL.ui.handler.sms
Class SmsUIHandler
java.lang.Object
org.universAAL.middleware.bus.member.BusMember
org.universAAL.middleware.bus.member.Callee
org.universAAL.middleware.ui.UIHandler
org.universAAL.ui.handler.sms.SmsUIHandler
public class SmsUIHandler
- extends UIHandler
SMS UI Handler. Handles dialogs containing sms message and a number to send
this message to and forwards it via designated SMS Gateway server to the
receiver's mobile phone.
- Author:
- eandgrg
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SmsUIHandler
public SmsUIHandler(ModuleContext mcontext,
ISMSSender backendSender)
handleUICall
public final void handleUICall(UIRequest uiRequest)
- Description copied from class:
UIHandler
- Handle ui call (
UIRequest
). The bus is soliciting a
Render/display of the UIRequest
.
- Specified by:
handleUICall
in class UIHandler
- Parameters:
uiRequest
- the UIRequest
communicationChannelBroken
public void communicationChannelBroken()
- Description copied from class:
UIHandler
- Method to be called when the communication of the
UIHandler
with
the IDialogManager
is lost.
All dialogs must be de-renderized (handlers may whant to inform the user about why
de dialogs are being de-renderized).
The bus will automatically resend all HandlerProfiles.
- Specified by:
communicationChannelBroken
in class UIHandler
adaptationParametersChanged
public void adaptationParametersChanged(String dialogID,
String changedProp,
Object newVal)
- Description copied from class:
UIHandler
- Adaptation parameters changed. The Dialog must be redrawn
according to the new value of the changedProp.
- Specified by:
adaptationParametersChanged
in class UIHandler
- Parameters:
dialogID
- the dialog idchangedProp
- the changed propnewVal
- the new val
cutDialog
public final Resource cutDialog(String dialogID)
- Description copied from class:
UIHandler
- Cut dialog. The DM is requesting an IMEDIATE de-renderization of the dialog with
given dialogID.
- Specified by:
cutDialog
in class UIHandler
- Parameters:
dialogID
- the dialog id
- Returns:
- the resource data form the
Form
filled by the user up to
the moment this call is performed.
Copyright © 2014 universAAL Consortium. All Rights Reserved.