Want to extend ModbusTcpSlave class #62
Hazelton42
started this conversation in
General
Replies: 1 comment 10 replies
-
Sure, but can you give me a little more detail on what you were trying to accomplish and why? I'm close to releasing a 2.0 version of this library and want to understand if it's a use case I missed. |
Beta Was this translation helpful? Give feedback.
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I was looking to extend the ModbusTcpSlave class with a custom bind handler. I ended up having to pretty much duplicate the whole thing instead of making a subclass because there are a few methods that are private instead of protected. Could you either make the ModbusTcpSlaveHandler inner class protected or make the onChannelRead, onChannelInactive and onExceptionCaught methods protected instead of private?
Beta Was this translation helpful? Give feedback.
All reactions