Hi Tobias,
you could simply add an update call to the model you use for the MVC:
mockWs.onmessage=function(event) {
// retrieve the message and put it into a JSONModel
var jsonData = JSON.parse(event.data);
oModel.setProperty("/some", jQuery.merge([jsonData], oModel.getProperty("/some")));
oModel.refresh(/* force */true);
};
See this gist for a working example: Example Websocket usage with Sapui5
Am I missing something? I guess you are looking for something a bit more built-in.
Regards,
M.
(... hm, I wonder why the syntax highlighting is broken ...)