示例#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;
 }
示例#2
0
 public static void end() {
   instance.stop();
 }