Index

Classes

Class

Methods

Class DataBroker

The DataBroker Class handles all the operations to choose the right codecs and the channels to send, receive and handle messages related to the Data.
Defined in: wonder_full.js.

Class Detail
DataBroker()
Method Detail
addCodec(-)

Adds a Codec to the DataBroker.

Parameters:
{Codec} -
A Codec object.
addDataChannel(-, -)

Adds a DataChannel to the Codec with the respective identity

Parameters:
{DataChannel} -
A DataChannel object.
{Identity} -
An Identity object.
onDataChannelEvt(-)

Receives a Message from channel that is designated to this codec to present it in the application.

Parameters:
{JsonObject} -
JsonObject with the content of a message, is a DataMessage Type.
removeCodec(-)

Removes a Codec from the DataBroker.

Parameters:
{Codec} -
A Codec object.
removeDataChannel(-)

Removes DataChannel from the codec with the respective identity

Parameters:
{Identity} -
An Identity object.
send(-)

Sends a Message from channel in the DataBroker.

Parameters:
{String} -
String with the content of a message

Documentation generated by JsDoc Toolkit 2.4.0 on Fri May 30 2014 17:47:13 GMT+0100 (BST)