Class ProviderTransport.HostProfileSnapshot

java.lang.Object
org.cloudburstmc.netty.signaling.ProviderTransport.HostProfileSnapshot
Enclosing interface:
ProviderTransport

public static final class ProviderTransport.HostProfileSnapshot extends Object
Immutable profile plus a nonblocking ownership check, repeated before send and acknowledgement.
  • Constructor Details

    • HostProfileSnapshot

      public HostProfileSnapshot(com.google.gson.JsonObject profile, Runnable requireCurrent)
  • Method Details

    • profile

      public com.google.gson.JsonObject profile()
    • requireCurrent

      public void requireCurrent()