Interface ServerEndpointResolver
- All Known Implementing Classes:
ServerEndpointResolver.Constant
public interface ServerEndpointResolver
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionintresolve()Determine what port to use, based on implementation-defined configurationvoidsignalReady(int actualPort) Signal that an actual port has been determined and is in use.
-
Method Details
-
resolve
int resolve()Determine what port to use, based on implementation-defined configuration- Returns:
- an actual port, which might be 0 for ephemeral
-
signalReady
void signalReady(int actualPort) Signal that an actual port has been determined and is in use.- Parameters:
actualPort- the bound port
-