Class EndpointSelection
java.lang.Object
org.cloudburstmc.netty.signaling.provider.connectivity.EndpointSelection
Opt-in endpoint policy. Address provenance never asserts inbound reachability.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordstatic enumstatic enum -
Method Summary
Modifier and TypeMethodDescriptionbind()candidates(EndpointSelection.Family family) booleanstatic EndpointSelectiondiscover(InetSocketAddress bind, List<InetSocketAddress> configured, List<EndpointSelection.Candidate> hostHints) Enumerates local interfaces only; configured endpoints suppress even interface enumeration.static EndpointSelectionselect(InetSocketAddress bind, List<InetSocketAddress> configured, List<EndpointSelection.Candidate> localHints) Completes local discovery without DNS or STUN.
-
Method Details
-
select
public static EndpointSelection select(InetSocketAddress bind, List<InetSocketAddress> configured, List<EndpointSelection.Candidate> localHints) Completes local discovery without DNS or STUN. Hints must describe host addresses on the gameplay port, not an independently gathered ephemeral socket or the Java backend port. Configured forwarding endpoints may translate address families and override every hint. -
discover
public static EndpointSelection discover(InetSocketAddress bind, List<InetSocketAddress> configured, List<EndpointSelection.Candidate> hostHints) throws IOException Enumerates local interfaces only; configured endpoints suppress even interface enumeration.- Throws:
IOException
-
bind
-
configured
public boolean configured() -
socketFamilies
-
candidates
-
candidates
-
publicCandidates
-