接口 MinecraftProtocolHelper.ListPingCallback

  • 封闭类:
    MinecraftProtocolHelper

    public static interface MinecraftProtocolHelper.ListPingCallback
    List Ping Callback.
    从以下版本开始:
    2.9
    • 方法概要

      修饰符和类型 方法 说明
      void done​(ByteBuf result, long ms, Throwable err)
      Call when connection finish.
    • 方法详细资料

      • done

        void done​(ByteBuf result,
                  long ms,
                  Throwable err)
        Call when connection finish.
        参数:
        result - The MOTD for server. result.toString(StandardCharsets.UTF_8);
        ms - Ms
        err - The error in connecting.