Package org.cloudburstmc.netty.signaling
Class ProviderTransport.HostProfileSnapshot
java.lang.Object
org.cloudburstmc.netty.signaling.ProviderTransport.HostProfileSnapshot
- Enclosing interface:
- ProviderTransport
Immutable profile bytes plus an endpoint-material ownership guard. The guard throws IllegalStateException
after native retirement, or HostProfileSnapshotChangedException after live semantic replacement;
it must never wait, acquire a monitor or perform I/O.
-
Constructor Summary
ConstructorsConstructorDescriptionHostProfileSnapshot(com.google.gson.JsonObject profile, long candidateRevision, long publicationVersion, com.google.gson.JsonArray probeCandidates, Set<Integer> assistedFamilies, Runnable requireCurrent) HostProfileSnapshot(com.google.gson.JsonObject profile, long candidateRevision, long publicationVersion, Runnable requireCurrent) HostProfileSnapshot(com.google.gson.JsonObject profile, long candidateRevision, Runnable requireCurrent) HostProfileSnapshot(com.google.gson.JsonObject profile, Runnable requireCurrent) -
Method Summary
Modifier and TypeMethodDescriptionFamilies eligible for assistance when explicitly enabled by ProviderClient configuration.longZero means this adapter has no revisioned native capture.com.google.gson.JsonArraycom.google.gson.JsonObjectprofile()longvoid
-
Constructor Details
-
HostProfileSnapshot
-
HostProfileSnapshot
public HostProfileSnapshot(com.google.gson.JsonObject profile, long candidateRevision, Runnable requireCurrent) -
HostProfileSnapshot
public HostProfileSnapshot(com.google.gson.JsonObject profile, long candidateRevision, long publicationVersion, Runnable requireCurrent) -
HostProfileSnapshot
-
-
Method Details
-
profile
public com.google.gson.JsonObject profile() -
probeCandidates
public com.google.gson.JsonArray probeCandidates() -
assistedFamilies
Families eligible for assistance when explicitly enabled by ProviderClient configuration. -
candidateRevision
public long candidateRevision()Zero means this adapter has no revisioned native capture. -
publicationVersion
public long publicationVersion() -
requireCurrent
public void requireCurrent()
-