public void onPreRemove( IoFilterChain parent, String name, NextFilter nextFilter ) throws SSLException
{
IoSession session = parent.getSession();
WriteFuture future = stopSSL( session );
session.removeAttribute( NEXT_FILTER );
session.removeAttribute( SSL_HANDLER );
future.join();
}
// IoFilter impl.
public void sessionClosed( NextFilter nextFilter, IoSession session ) throws SSLException