Class: IwcConnector
| Defined in: | lib/Connectors/IwcConnector.coffee | 
Overview
The Iwc Connector adds support for the Inter-Widget-Communication protocol that is used in the Role-SDK.
You must not use your own IWC client when using this connector!!
Instance Method Summary
- # (void) setIwcHandler(f) Set your own IWC handler.
 - ~ (void) sendIwcIntent intent() Helper for sending iwc intents.
 - # (void) send(o) Private This function is called whenever an operation was executed.
 - # (void) receive(o) Private This function is called whenever an operation was received from another peer.
 
Constructor Details
      #
(void)
constructor(engine, HB, execution_listener, yatta)
      
    
Instance Method Details
      #
(void)
setIwcHandler(f)
      
    
Set your own IWC handler. It will be called after Yatta consumed the data from the received intent.
      ~
(void)
sendIwcIntent intent()
      
      ~
(void)
sendIwcIntent action_name, content()
      
    
Helper for sending iwc intents.
      #
(void)
send(o)
      Private
      
    
This function is called whenever an operation was executed.
      #
(void)
receive(o)
      Private
      
    
This function is called whenever an operation was received from another peer.