Package org.cloudburstmc.netty.signaling
Class ProviderClient.Configuration.Builder
java.lang.Object
org.cloudburstmc.netty.signaling.ProviderClient.Configuration.Builder
- Enclosing class:
- ProviderClient.Configuration
-
Method Summary
Modifier and TypeMethodDescriptionassistedJoins(boolean assistedJoins) authorizationToken(String authorizationToken) build()connectivityMethod(String connectivityMethod) controlTransport(ProviderClient.ControlTransport controlTransport) deregisterOnShutdown(boolean deregisterOnShutdown) diagnosticAdmission(boolean diagnosticAdmission) gameOutcomes(boolean gameOutcomes) Declares that the application reports every admitted player's join or rejection throughProviderClient.reportGameOutcome(java.lang.String, org.cloudburstmc.netty.signaling.ProviderClient.GameOutcome, java.lang.String).location(ProviderClient.Location location)
-
Method Details
-
label
- Parameters:
label- The instance's initial name at the provider
-
authorizationToken
- Parameters:
authorizationToken- A bearer token, or null to register anonymously with proof of work
-
controlTransport
public ProviderClient.Configuration.Builder controlTransport(ProviderClient.ControlTransport controlTransport) -
diagnosticAdmission
-
connectivityMethod
- Parameters:
connectivityMethod-definedfor configured endpoints,discoveredotherwise
-
assistedJoins
-
deregisterOnShutdown
-
gameOutcomes
Declares that the application reports every admitted player's join or rejection throughProviderClient.reportGameOutcome(java.lang.String, org.cloudburstmc.netty.signaling.ProviderClient.GameOutcome, java.lang.String). -
location
- Parameters:
location- Where the operator says the host runs, or null to let the provider estimate it
-
build
-