Collection<R> getRoutes() {
        return new LinkedList<>(routes.values());
    }
Returns the sessions that are connected to this JVM.

@return the sessions that are connected to this JVM.
xmppserver/src/main/java/org/jivesoftware/openfire/spi/LocalRoutingTable.java