Interface ServerEndpointResolver

All Known Implementing Classes:
ServerEndpointResolver.Constant

public interface ServerEndpointResolver
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static class 
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Determine what port to use, based on implementation-defined configuration
    void
    signalReady(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