-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor OpAMPClient callbacks (#87)
Resolves #77 We previously delivered the data received in one ServerToAgent message using multiple callbacks. This encouraged piecemeal processing and resulted in multiple state changes when only one would be sufficient. The new OnMessage callback delivers all data that can affect the state at once which makes it possible process it in one pass. In the Supervisor this allows to restart the Agent only once when applying changes that result in config file change.
- Loading branch information
1 parent
3f2eab4
commit 301ef45
Showing
13 changed files
with
384 additions
and
586 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.