Frontend API

@Injectable() export class ComponentMessageHandler

Handle the messages of the component subprotocol from flow-based programming network protocol.

Protocol for handling the component registry.

This subprotocol description can be found here : https://flowbased.github.io/fbp-protocol/#component-list

Created by antoine on 15/06/2017.

handleMessage (msg: Object)

Redirect the given message to the proper handler method.

private addComponent (msg: Object)

Add a component to the list of available components. The new component is created from the received data.

https://flowbased.github.io/fbp-protocol/#component-component

private componentsReady ()

Confirm that all components have been received.

https://flowbased.github.io/fbp-protocol/#component-componentsready