Object synchronization between clients via Socket.io-socket-like transports.
Object synchronization between clients via Socket.IO socket-like transports.
false, no incomming updates will be accepted. Default: 'true'
false, no updates will be sent. Default: 'false' Note: Two-way syncing can only be done if both sides have equal objects at the time that the connection is made!
Inherits all methods of KVCObject. All updates are automatically (and minimally) synced.
Client A. Will send updates.
var io = ;var ObjSync = ;var transport = io;var sync = transport subscribe:false publish:true;sync;
Client B, aka server-side. Will receive updates.
var io = ;var ObjSync = ;var transport = iosockets;var sync = transport;sync;