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

Event raising and semi-asynchronous activity #27

Open
2 of 4 tasks
gbakeman opened this issue Sep 24, 2021 · 1 comment
Open
2 of 4 tasks

Event raising and semi-asynchronous activity #27

gbakeman opened this issue Sep 24, 2021 · 1 comment
Assignees

Comments

@gbakeman
Copy link
Collaborator

gbakeman commented Sep 24, 2021

Make the library thread-aware and implement an Event-raising system to raise events for common things, such as:

Connection monitoring (see issue #24)
Connection established/disconnected
Variable data updated (asynchronous variable retrieval)

  • HandleServerConnected
  • HandleServerDisconnected
  • HandleNUTException
  • HandleConnectionBroken
@gbakeman gbakeman self-assigned this Sep 24, 2021
@gbakeman
Copy link
Collaborator Author

gbakeman commented Oct 1, 2021

I'll make as much of the socket asynchronous as possible, although NUT servers (upsd) operate synchronously so there's not much point in async sending/receiving.

@gbakeman gbakeman changed the title Asynchronize Event raising and semi-asynchronous activity Jan 8, 2022
gbakeman added a commit that referenced this issue Feb 9, 2022
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

No branches or pull requests

1 participant