Hi,

Sorry of being lazy and not figuring this out my self.

(1)

IoSession.getAttachment is now deprecated, do I use the getAttribute with a
key instead?

(2)

DemuxingProtocolCodecFactory.register(...) is gone. Guess I should use
addMessageDecoder and addMessageEncoder instead.

addMessageDecoder takes 2 args though

Inside my MessageEncoder I use stuff like:

        public Set<Class<IoBuffer>> getMessageTypes(){
                return Collections.<Class<IoBuffer>>singleton(IoBuffer.class);
        }

Is this second param replacing this in some way?

cheers

Goran

-- 
View this message in context: 
http://www.nabble.com/Mina-2-snapshot-changes-tf4770428s16868.html#a13645417
Sent from the Apache MINA Support Forum mailing list archive at Nabble.com.

Reply via email to