steveohara / j2mod

Enhanced Modbus library implemented in the Java programming language
Apache License 2.0
265 stars 111 forks source link

Not possible to override handleRequest in ModbusSlave #57

Closed javicacheiro closed 6 years ago

javicacheiro commented 6 years ago

I have developed a modbus proxy service for modbus that redirects requests to a given gateway, allowing multiple masters to connect simulataneously.

To implement it, it would be quite useful to be able to override the handleRequest method of the ModbusSlave class making it again protected (as it was before).

steveohara commented 6 years ago

Thanks Javi, I've committed your change