Skip to content

Conversation

@wwfranczyk
Copy link

LocalGENASubscription and RemoteGENASubscription have inconsistent behaviour.
currentValues are cleared on local (see propertyChange method in LocalGENASubscription) and preserved on remote (see receive method in RemoteGENASubscription) subscription event.

This pull request is one of the possibilities of how a consistency can be preserved while also introduces ways to:

  • get cached state variable values of GENA subscription (still via getCurrentValues)
  • know which of them have changed in the last event (via eventReceived method modification)

import java.util.Map;
import java.util.Set;
import java.util.UUID;
import java.util.*;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please do not change import orders.

@ened
Copy link
Contributor

ened commented Mar 16, 2016

Thanks for the PR. Do you mind adding tests for the new code added?

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.

2 participants