| An interface that builds
IoFilterChain in predefined way
when
IoSession is created. You can extract common filter chain
modification logic to this interface. For example, to add a filter
to the chain,
public class MyFilterChainBuilder implements IoFilterChainBuilder {
public void buildFilterChain( IoFilterChain chain ) throws Exception {
chain.addLast( "myFilter", new MyFilter() );
}
}
author: The Apache MINA Project (dev@mina.apache.org) version: $Rev: 576217 $, $Date: 2007-09-16 17:55:27 -0600 (Sun, 16 Sep 2007) $ |