Interface IServerQuery

  • All Known Implementing Classes:
    TeaVMServerQuery

    public interface IServerQuery
    Copyright (c) 2022-2023 LAX1DUDE. All Rights Reserved. WITH THE EXCEPTION OF PATCH FILES, MINIFIED JAVASCRIPT, AND ALL FILES NORMALLY FOUND IN AN UNMODIFIED MINECRAFT RESOURCE PACK, YOU ARE NOT ALLOWED TO SHARE, DISTRIBUTE, OR REPURPOSE ANY FILE USED BY OR PRODUCED BY THE SOFTWARE IN THIS REPOSITORY WITHOUT PRIOR PERMISSION FROM THE PROJECT AUTHOR. NOT FOR COMMERCIAL OR MALICIOUS USE (please read the 'LICENSE' file this repo's root directory for more info)
    • Method Detail

      • send

        void send​(java.lang.String str)
      • send

        void send​(byte[] bytes)
      • responsesAvailable

        int responsesAvailable()
      • binaryResponsesAvailable

        int binaryResponsesAvailable()
      • getBinaryResponse

        byte[] getBinaryResponse()
      • isOpen

        default boolean isOpen()
      • isClosed

        default boolean isClosed()
      • close

        void close()
      • awaitResponseAvailable

        default boolean awaitResponseAvailable​(long timeout)
      • awaitResponseAvailable

        default boolean awaitResponseAvailable()
      • awaitResponseBinaryAvailable

        default boolean awaitResponseBinaryAvailable​(long timeout)
      • awaitResponseBinaryAvailable

        default boolean awaitResponseBinaryAvailable()
      • awaitResponse

        default QueryResponse awaitResponse​(long timeout)
      • awaitResponseBinary

        default byte[] awaitResponseBinary​(long timeout)
      • awaitResponseBinary

        default byte[] awaitResponseBinary()