Interface ServerAddress


@Experimental @NoImplement @MinMuleVersion("4.10.0") public interface ServerAddress
Representation of a server's address.
Since:
0.12.0
  • Method Details

    • getPort

      int getPort()
      Returns:
      the port this server is bound to.
    • getIp

      String getIp()
      Returns:
      the IP for this server as a String.
    • getAddress

      InetAddress getAddress()
      Returns:
      the address for this server.
    • overlaps

      boolean overlaps(ServerAddress serverAddress)
      Parameters:
      serverAddress - another ServerAddress.
      Returns:
      true if this and serverAddress have conflicting addresses, false otherwise.