We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
使用RtuMaster发送消息只要发生异常就会关闭连接调用到这个方法,而下次尝试打开连接又会先调用这个方法产生空指针从而打开失败。导致永远都连不上,除非自己创建新的RtuMaster实例
package com.serotonin.modbus4j.sero.messaging; public class StreamTransport implements Transport, Runnable { ... /** * <p>removeConsumer.</p> */ public void removeConsumer() { listener.stop(); listener = null; } ... }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
使用RtuMaster发送消息只要发生异常就会关闭连接调用到这个方法,而下次尝试打开连接又会先调用这个方法产生空指针从而打开失败。导致永远都连不上,除非自己创建新的RtuMaster实例
The text was updated successfully, but these errors were encountered: