Hi all,
I am just working through the quick start guide
(http://mina.apache.org/quick-start-guide.html).
Although I signed up for an account, I don't have edit permissions for that
page. So please someone change this.
This is nothing dramatic, it is just not nice to have to search for classes
when working through a tutorial.

In code block 2,3 and 4, you have to add 

import org.apache.mina.common.ByteBuffer;
import org.apache.mina.common.SimpleByteBufferAllocator;

to make it work. I saw that ByteBuffer was renamed, maybe mention that?

In the 2nd and 3rd block:
import java.io.IOException;
import org.apache.mina.transport.socket.nio.SocketAcceptorConfig;
import org.apache.mina.filter.codec.ProtocolCodecFilter;
import org.apache.mina.filter.codec.textline.TextLineCodecFactory;
import org.apache.mina.filter.LoggingFilter;
import java.nio.charset.Charset;

4th block:
import org.apache.mina.common.TransportType;
import org.apache.mina.transport.socket.nio.SocketSessionConfig;
import org.apache.mina.common.IdleStatus;

Somewhere in the middle: "Here was have created"
-- 
View this message in context: 
http://www.nabble.com/Quick-Start-Guide-comments-tf4641292s16868.html#a13256065
Sent from the Apache MINA Support Forum mailing list archive at Nabble.com.

Reply via email to