It would be very convenient if setVariable could support objects (and arrays of them) for the public flag, since this is how people generally do object specific network transfer with remoteExec:
_args remoteExec ["some_fnc", [_object1, _object2]];
_object setVariable ["something", _var, [_object1, _object2]];