Christopher Popp wrote:
Yep, after taking the second glance at it, it looks like the message sent event
should occur every time the write occurs later on in the method.
I just took a glance quick, and it looks like they tag each of their releases,
so you should be able to checkout the 2.0.0-M4 tagged version and get a
suitable codebase to try from. It looks like that code hasn't changed between
M4 and now:
http://svn.apache.org/viewvc/mina/tags/2.0.0-M4/transport-serial/src/main/java/org/apache/mina/transport/serial/SerialSessionImpl.java?revision=724773
I urge you to use M6. M4 is using a non-thread safe Circular queue
causing to some message loss when under heavy load, M5 ExecutorFilter is
broken. All this has been fixed in M6, so far.
In any case, serial hasen't change since M4.
Christopher
Hmmmm, I see the code in question, but I'm not sure I can test it. I've got an old svn checkout, that I thought was M4-ish in timeframe. But when I build it it's calling itself RC2.
That's a mistake we made. Just a bad tag.
--
--
cordialement, regards,
Emmanuel Lécharny
www.iktek.com
directory.apache.org