Hi there,
i have a proposal: Could you write your own equals & hashCode method for the ModbusTCPMaster?
If you connect with multiple threads to different devices, then those connections, which just have different unit IDs, can be used multiple times, since it's the same IP address. So I want to collect several masters in one map. For this to work efficiently, I need an "equals" & "hashCode" method.
Thank you
Hi there, i have a proposal: Could you write your own
equals
&hashCode
method for theModbusTCPMaster
? If you connect with multiple threads to different devices, then those connections, which just have different unit IDs, can be used multiple times, since it's the same IP address. So I want to collect several masters in one map. For this to work efficiently, I need an "equals" & "hashCode" method. Thank you