However, the identical interface doesn't mean that it behaves in an exactly same way with {@link IoFilterChain}. {@link DefaultIoFilterChainBuilder}doesn't manage the life cycle of the {@link IoFilter}s at all, and the existing {@link IoSession}s won't get affected by the changes in this builder. {@link IoFilterChainBuilder}s affect only newly created {@link IoSession}s.
IoAcceptor acceptor = ...; DefaultIoFilterChainBuilder builder = acceptor.getFilterChain(); builder.addLast( "myFilter", new MyFilter() ); ...@author The Apache Directory Project (mina-dev@directory.apache.org) @version $Rev: 562335 $, $Date: 2007-08-03 14:28:02 +0900 (Fri, 03 Aug 2007) $
However, the identical interface doesn't mean that it behaves in an exactly same way with {@link IoFilterChain}. {@link DefaultIoFilterChainBuilder}doesn't manage the life cycle of the {@link IoFilter}s at all, and the existing {@link IoSession}s won't get affected by the changes in this builder. {@link IoFilterChainBuilder}s affect only newly created {@link IoSession}s.
IoAcceptor acceptor = ...; DefaultIoFilterChainBuilder builder = acceptor.getFilterChain(); builder.addLast( "myFilter", new MyFilter() ); ...@author The Apache MINA Project (dev@mina.apache.org) @version $Rev: 594846 $, $Date: 2007-11-14 13:03:07 +0100 (Wed, 14 Nov 2007) $ @org.apache.xbean.XBean
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|