Interface ResponseCallback


public interface ResponseCallback

This interface represents a function prototype for response sending on inter widget communication.

See Also:
Callbacks, Widget.sendMessage(String, Object, ResponseCallback), Script.messageReceived(String, Object, ResponseCallback), Member.send(String, Value, ResponseCallback)

Method Summary
 void respond(Object argument)
          Sends a response back to calling widget.
 

Method Detail

respond

void respond(Object argument)
Sends a response back to calling widget.

Parameters:
argument - Response value, depending on the service called
See Also:
Widget.sendMessage(String, Object, ResponseCallback), Script.messageReceived(String, Object, ResponseCallback)