Re: MINA 3.0

2009-03-13 Thread Erix Yao
I really hope MINA 2.0 can be released quickly.

I didn't know whether this is a bug in DefaultIoFuture#await0(long timeoutMillis, boolean interruptable);

2009-02-26 Thread Erix Yao
In DefaultIoFuture#awaitUninterruptibly(), it delegates the method invocation to await0(Long.MAX_VALUE, fasle), but in the first line of await0(long timeoutMillis, boolean interruptable), the endTime= System.currentTimeMillis() + timeoutMillis, so endTime =System.currentTimeMillis() +

Re: [VOTE] Releasing FtpServer 1.0.0

2009-02-22 Thread Erix Yao
+1 2009/2/23 Guillaume Nodet gno...@gmail.com I've just downloaded the sources tar.gz and tried to build those. The org.apache.ftpserver.clienttests.SuspendResumeTest is hanging forever. Is that a know thing ? Also, the README.txt in the binary distribution seems quite outdated (talking

where should I close the session?

2008-11-04 Thread Erix Yao
While using mina, I didn't know where to call session.close() after I write the message to the session. Shall I just set the idletime and leave the session close itself?

FtpServer thread model?

2008-10-28 Thread Erix Yao
What is the thread model of the ftp server ? Is it running in only one thread except the mina's thread pool? I have an idea, that after the command has been analyzed, the excution of each command should be thrown into a excutor or a thread pool, using asynchrouse mechanism to enhance the

Where is the code responsible for the file transfer in FTPServer?

2008-10-28 Thread Erix Yao
I am reading the source code of the FTPServer, But I don't know which class is responsible for the file transfer, or how the server implement the file transfer functionality? Can anybody help me?

Re: FtpServer thread model?

2008-10-28 Thread Erix Yao
I see. But according to Scalable Java I/O, I think using a reactor pattern and SEDA will help improve the performance. As far as I know, the Listener interface is acting as a reactor, using NioAcceptor provided by MINA, but the rest of the work except the network handling are excuted in the thread

Where to get the latest source code using svn?

2008-10-14 Thread Erix Yao
Where can I get the latest source code through svn? I remembered that I saw some new examples like http server using mina, but I can't find it. Is the svn for mina open for common users?

How to write an application for downloading the file using MINA?

2008-10-02 Thread Erix Yao
How to write an appliation using MINA for the server to control the file downloading ? Can anybody give me any hints? I'm new for MINA. I think I should use HTTP protocol and apache ftp server is an option. Can anybody give me any hints for writing it myself using MINA?

Re: How to write an application for downloading the file using MINA?

2008-10-02 Thread Erix Yao
I'm sorry. Hope one day I can understand the MINA good enough and improve it and discuss it through this mailing list. Sorry again. 2008/10/2 Emmanuel Lecharny [EMAIL PROTECTED] Erix Yao wrote: How to write an appliation using MINA for the server to control the file downloading ? Can