class DefaultSocks5ConnectionsRegistry implements Socks5ConnectionsRegistry {

    public IoSession getRequester(String hash) {
        Socks5Pair pair = pairs.get(hash);
        if(pair != null) {
            return pair.getRequester();
        } else {
            return null;
        }
    }

}