kevoree-group-centralizedws
Version:
WebSocket group based on a centralized architecture that only sends partial model to connected clients
30 lines (29 loc) • 517 B
JavaScript
module.exports = {
fragmentDictionary: {
array: [
{
name: 'masterNode',
findValuesByID() {
return { name: 'isMaster', value: 'true' };
}
}
]
},
findSubNodesByID() {
return {
name: 'masterNode',
networkInformation: {
array: [
{
name: 'lo',
values: {
array: [
{ name: 'ipv4', value: '127.0.0.1' }
]
}
}
]
}
};
}
};