Esempio n. 1
0
 /** Attempts to send a QUERY_CONNECT for a new long distance link. */
 private void getNewLongDistance() {
   if (!alreadyInOutcommingSet) symphony.retriesNewLongDistance = 0;
   else {
     symphony.retriesNewLongDistance++;
     if (symphony.retriesNewLongDistance
         >= ((SymphonyProperties) Properties.overlayPropertiesInstance)
             .maxRetriesNewLongDistance) {
       return;
     }
   }
   newQueryConnect = symphony.getNewLongDistance();
   if (newQueryConnect != null) symphony.sendMessage(newQueryConnect);
 }