Example #1
0
 public static boolean start(int count, int maxFailCount, long timeout, PaPeer peer) {
   if (instance.init(count, maxFailCount, peer) == false) {
     return false;
   }
   instance.run(timeout);
   return true;
 }
Example #2
0
 public static void end() {
   instance.stop();
 }