class Socks5AcceptorHandler extends IoHandlerAdapter {

    public void sessionIdle(IoSession session, IdleStatus status) throws Exception {
        log.info("SOCKS5 connection idle, will be closed");
        Socks5Pair pair = getPair(session);
        if (pair != null) {
            pair.close();
        }
    }

    public  Socks5AcceptorHandler(Socks5ConnectionsRegistry connections);

}