mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tunca <atuncat...@gmail.com>
Subject Re: CumulativeProtocolDecoder and UDP
Date Thu, 03 Mar 2016 08:09:22 GMT
Hi Emmanuel,

I downloaded apache mina 2.0.13 and updated  NioDatagramSession METADATA
creation code.
Set the 4th parameter to true, then for UDP CumulativeProtocolDecoder
started to work as expected.

Thanks A lot.

class NioDatagramSession extends NioSession {
    static final TransportMetadata METADATA = new
DefaultTransportMetadata("nio", "datagram", true, true,
            InetSocketAddress.class, DatagramSessionConfig.class,
IoBuffer.class);




--
View this message in context: http://apache-mina.10907.n7.nabble.com/CumulativeProtocolDecoder-and-UDP-tp18927p50289.html
Sent from the Apache MINA Developer Forum mailing list archive at Nabble.com.

Mime
View raw message