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

Add event or callback if the main runnable event loop fails #115

Closed
swarwick opened this issue Nov 27, 2018 · 1 comment
Closed

Add event or callback if the main runnable event loop fails #115

swarwick opened this issue Nov 27, 2018 · 1 comment

Comments

@swarwick
Copy link

In the package constructor PureJavaSerialPort(String name, int timeout) there is a runnable thread that performs the main read/write operations. If this thread ever fails there is no notification to the end user that is has failed. There should be a COMPLETE event or onCompleteNotifcation callback to let the end user know the main event loop has completed and to check for failures if this occurred at an unknown time vs an actual intended shutdown.

@swarwick
Copy link
Author

I just noticed this is a duplicate of issue #108

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