As I am setting variables like this
Code: Select all
UserVariable var = new SFSUserVariable("user_ready", true);
List<UserVariable> userVarsList = new ArrayList<UserVariable>();
userVarsList.add(var);
sfsClient.send(new SetUserVariablesRequest(userVarsList));
But I am not receiving any update on server side regarding the update.
I have added the event handler on the server side.
this.addEventHandler(SFSEventType.USER_VARIABLES_UPDATE, UserVariableHandler.class);