class Socks5Pair {

    public synchronized IoSession getOther(IoSession session) {
        if(requester.equals(session)) {
            return target;
        } else {
            return requester;
        }
    }

    public  Socks5Pair(IoSession target, Socks5ConnectionsRegistry registry, String hash);

}