Esempio n. 1
0
 public boolean isTimedOut() {
   if ((System.currentTimeMillis() - sentTime) > NetworkServer.timeoutLength()) {
     if (result != null) {
       // if we have a result stored, that means it returned before we checked timeout
       return false;
     }
     return true;
   } else {
     return false;
   }
 }