Luis Neves wrote:
Emmanuel Lecharny wrote:
Luis Filipe dos Santos Neves wrote:
Mark wrote:
Does not sound like it is working as planned. Do you have a test program
that demonstrates this behavior?

Yes. You can test the code below using netcat:
nc -i 5 localhost 1234
I get an error while executing your code :

Exception in thread "main" java.lang.NoSuchMethodError: org.apache.mina.common.AbstractIoService.getTransportMetadata()Lorg/apache/mina/common/TransportMetadata; at org.apache.mina.common.AbstractIoService.<init>(AbstractIoService.java:132) at org.apache.mina.common.AbstractIoAcceptor.<init>(AbstractIoAcceptor.java:58) at org.apache.mina.common.AbstractPollingIoAcceptor.<init>(AbstractPollingIoAcceptor.java:92) at org.apache.mina.common.AbstractPollingIoAcceptor.<init>(AbstractPollingIoAcceptor.java:80) at org.apache.mina.transport.socket.nio.NioSocketAcceptor.<init>(NioSocketAcceptor.java:64)
   at Test.main(Test.java:23)

I'm using MINA-2.0.0-M1-SNAPSHOT (freshly got from trunk) and Java 1.5.0-12.

Any clue ?

No, no clue. I just upgraded to trunk (rev. 611827) and I have no such error.
Perhaps you have some stale files in your build?
ok, it works now.
Very same resuts :

Time for write:15161 ms
Time for write:10181 ms
Time for write:22 ms
Time for write:10584 ms
Time for write:21 ms
Time for write:15184 ms
Time for write:10493 ms
Time for write:24 ms
Time for write:5365 ms
Time for write:21 ms
Time for write:24 ms
Time for write:15269 ms
...




--
Luis Neves



--
--
cordialement, regards,
Emmanuel Lécharny
www.iktek.com
directory.apache.org


Reply via email to