R getRoute(DomainPair pair) {
        return routes.get(pair);
    }
Returns the route hosted by this node that is associated to the specified address.

@param pair DomainPair associated to the route.
@return the route hosted by this node that is associated to the specified address.
xmppserver/src/main/java/org/jivesoftware/openfire/spi/LocalRoutingTable.java