Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide setState and setNode notifications to the drivers #323

Open
wants to merge 3 commits into
base: development
Choose a base branch
from

Conversation

davideaster
Copy link
Member

Model drivers may need to know when setState occurs for the application--or setNode for certain nodes--if the driver has private state that it can't express in its properties.

When the state is refreshed in an existing client, the driver must flush this private state in order to be in sync with new clients that are joining.

  • Declare the kernel and model and view driver API
  • Call the drivers during kernel.setState and kernel.setNode.
  • Send setState to all clients when new clients join.
  • Look for bugs stemming from setState on existing clients (start with http://redmine.virtualworldframework.com/issues/2182).

@davideaster
Copy link
Member Author

@rchadwic @eric79 FYI. This is still in progress.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant