Re: What can I do with the XXFuture?

2008-10-15 Thread Emmanuel Lecharny
Erix Yao wrote: I found out that after call session.write(Object) I can get a class called WriteFuture, after checking the doc of the interface, I didn't know what purpose of this interface. The only thing I know is that I can call await() method to wait the operation to complete. Is there any

state of the IoFilter

2008-10-15 Thread jlesniak
Hi, I want to keep and change stet of IoFilter. sate is changed via message passed through filterWrite() something like this public void filterWrite(NextFilter nextFilter, IoSession session, WriteRequest writeRequest) throws Exception { Object message =

IoServiceListener not invoked when close future is set

2008-10-15 Thread Ilya Sterin
I'm not sure if this is desired behavior, but for the sake of generic handling of IoService (connector/listener), this seems like a bug. When I invoke set up a socket connector and add an IoServiceListener to it it works fine so long that no IoFutureListener is not added to the sessions close

Re: Any simple way to make Spring auto-call start() on FtpServer when it is registered using the server tags?

2008-10-15 Thread Niklas Gustavsson
On 10/14/08, Sisk, Brad [EMAIL PROTECTED] wrote: Can anyone recommend a simple way to force Spring to automatically call FTPServer.start() when Spring gets an instance of it through BeanFactory? Keep in mind, FTPServer is not registered with Spring through the applicationContext, but rather

Anyone Else Deploy FTPServer to an App Server...what approach do you use to start FTPServer, deployed?

2008-10-15 Thread Sisk, Brad
Have any of you deployed FTPServer to an Application Server? For example, as part of Spring? If so, what approach do you use to have the AppServer start, stop FTPServer? To kick it off initially, did you write a shell script or batch file which calls a main() method in your code, and

Re: Any simple way to make Spring auto-call start() on FtpServer when it is registered using the server tags?

2008-10-15 Thread Ralph
Brad Sisk Wrote: I appreciate your suggestion, Ralph. But if I'm not mistaken, it looks like you've posted a solution for a standalone Java app-not the Spring approach to bean instantiation. For example, your solution directly instantiates FtpServer the way a main() method would-rather than using