public static void distributeRemote(CircularLinkedList<Paas> paasList, Tuple tuple) {
    // setting remote hub address to client, using circular linked list
    // each tuple will be prioritised to be in the same hub
    // need to handle mobile == null
    for (Client client : tuple.getClients()) {
      if (client.getPaas() == null) {
        Paas paas = paasList.get();
        logger.debug("Assigning client to: " + paas.toString());
        client.setPaas(paas);
      }
    }
  }
Distribute remote.

@param paasList the list of available paas
@param tuple the tuple
KITE-Engine/src/main/java/org/webrtc/kite/Engine.java