Class ProviderRuntimeObservations
java.lang.Object
org.cloudburstmc.netty.signalling.provider.ProviderRuntimeObservations
Host observations are independent of the publicly advertised server-list status.
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringdelegatedIdentityMessage(URI origin) Describes the trust boundary without logging provider credentials or URL query data.static ProviderClient.Healthstatic ProviderClient.Healthstatic StringregistrationMessage(com.google.gson.JsonObject registration)
-
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
Describes the trust boundary without logging provider credentials or URL query data. -
registrationMessage
-