Example #1
0
 public static void sendError(int hash, String message) {
   if (errText.contains(hash)) {
     return;
   }
   errText.put(hash);
   try {
     udpCollect.write(
         new DataOutputX().writePack(new TextPack(TextTypes.ERROR, hash, message)).toByteArray());
   } catch (Exception e) {
   }
 }
Example #2
0
 public static void reset() {
   errText.clear();
 }