Interface ProviderTransport

All Known Implementing Classes:
NativeProviderTransport

public interface ProviderTransport
Transport boundary. Provider code performs no native allocation or game packet handling.
  • Method Details

    • supportsAssistedJoins

      default boolean supportsAssistedJoins()
    • assistedJoin

      default CompletionStage<String> assistedJoin(AssistedJoin join, Runnable requireCurrent)
    • candidatePublicationVersion

      default long candidatePublicationVersion()
      Cheap local publication counter; freshness changes do not change candidateRevision.
    • configureStunServers

      default CompletionStage<Void> configureStunServers(List<ProviderTransport.StunServer> servers)
      Provider discovery only. Explicit endpoints suppress resolution and monitoring.
    • reportConnectivityChecks

      default CompletionStage<Void> reportConnectivityChecks(long candidateRevision, List<ProviderTransport.ConnectivityCheck> checks)
      Existing heartbeat feedback only; no state/health command or reachability assertion.
    • supportsDiagnosticAdmission

      default boolean supportsDiagnosticAdmission()
      Local opt-in, independent of player serving state. Incoming probes cannot configure their own authority.
    • configureDiagnostics

      default CompletionStage<Void> configureDiagnostics(DiagnosticHostPolicy policy, long deadlineNanos)
      Original successful-heartbeat monotonic deadline; asynchronous installation must not renew it.
    • disableDiagnostics

      default CompletionStage<Void> disableDiagnostics()
    • captureHostProfile

      The host profile exported from actual bound native metadata, with endpoint ownership held across asynchronous publication, persistence and application.
    • installAdmissionKeys

      CompletionStage<Void> installAdmissionKeys(List<AdmissionKey> keys)
      Atomic native snapshot installation. Durable application storage remains the caller's responsibility.
    • pollEvents

      List<com.google.gson.JsonObject> pollEvents(int maximum)
      Drains at most maximum ticket-correlated transport observations.
    • drain

    • close