Class ProviderRuntimeObservations

java.lang.Object
org.cloudburstmc.netty.signalling.provider.ProviderRuntimeObservations

public final class ProviderRuntimeObservations extends Object
Host observations are independent of the publicly advertised server-list status.
  • Method Details

    • health

      public static ProviderClient.Health health(int connectedPlayers, int capacity, long sampledAt, String build)
    • health

      public static ProviderClient.Health health(int connectedPlayers, int capacity, long sampledAt, String build, boolean acceptingPlayers)
      Parameters:
      acceptingPlayers - Whether the host wants more players, which a full or draining host answers no to while still being healthy
    • delegatedIdentityMessage

      public static String delegatedIdentityMessage(URI origin)
      Describes the trust boundary without logging provider credentials or URL query data.
    • registrationMessage

      public static String registrationMessage(com.google.gson.JsonObject registration)