2010/3/16 Niklas Gustavsson <nik...@protocol7.com>: > On Tue, Mar 16, 2010 at 2:52 PM, Sai Pullabhotla > <sai.pullabho...@jmethods.com> wrote: >> If a filter can make use of this event, why not an >> Ftplet? > > To me, because writing your own Ftplet should require minimal > knowledge of the internals of FtpServer. Compare this to writing a > Servlet and your own Valve for Tomcat. > > /niklas
niklas opinion makes sense but, of course, some users might need this sessionCreated event. My suggestion is that we wait until some of the inner workings of MINA 3.0 are agreed upson so we don't have to make a decision based on a threading/event model that is very likely to change. The IPFilter that can act as a blacklist or a whitelist is a pretty clever idea. What about programmatically changing the IPFilter? as if you want to update the blacklist but the whitelist 'version' is in use...