Hello,

I use Mina 2.0.2 with a serial connector and communicate with an embedded device. This device is pretty slow compare to the computer and take 2ms to switch from send to listen mode. The computer responds too quickly.

I implemented a solution to wait between last received message and next message to sent but I did that in the IoHandler. I need to reimplement this solution in the connector.

Do you know if it is already done somewhere? Do you have advices on how to do that?

My first idea was to hack the reader worker and writer worker in the SerialSessionImpl but I found this solution pretty crappy. What is your opinion?

Thanks in advance for your help,

--

*François Hamard*
Responsable Informatique / Software Manager
site : www.intesens.com
<https://www.linkedin.com/company/intesens>

Reply via email to