I did some work today to port Vysper to MINA 2.0 M5

Couple of problems that I am facing

1. File Name: org.apache.vysper.mina.MinaBackedSessionContext.java

There is usage of IoSession as

minaSession.setTrafficMask(TrafficMask.WRITE);

How do I take care of this?

2. File: org.apache.vysper.mina.TCPEndpoint.java

Has a usage on Accetpor as acceptor.unbindAll();
Now we don't have this API. Which is the current thing to use?

Have put acceptor.unbind();

The main package is fine, I am in bad shape WRT to test package.
Still have close to 14 errors to deal with.

Have no clue what to do with org.apache.vysper.mina.codec.MockIoSession.java
(Most of the errors are from this file).
Is org.apache.mina.core.session.DummySession.java right thing to use here?

Now the major question
How do we move forward. I am not sure if the ported code is going to
work as expected.
And might not be the best person to judge that as well.

Any suggestions?

-- 
thanks
ashish

Blog: http://www.ashishpaliwal.com/blog
My Photo Galleries: http://www.pbase.com/ashishpaliwal

Reply via email to