Class NetworkEndpoint

java.lang.Object
com.here.sdk.core.NetworkEndpoint

public final class NetworkEndpoint extends Object

Network endpoint.

  • Field Details

    • address

      @NonNull public InetAddress address

      The IP Address of the network endpoint.

    • port

      @Nullable public Integer port

      Optional port number of the network endpoint.

  • Constructor Details

    • NetworkEndpoint

      public NetworkEndpoint(@NonNull InetAddress address, @Nullable Integer port)

      Creates a new instance.

      Parameters:
      address -

      The IP Address of the network endpoint.

      port -

      Optional port number of the network endpoint.

    • NetworkEndpoint

      public NetworkEndpoint(@NonNull InetAddress address)

      Creates a new instance.

      Parameters:
      address -

      The IP Address of the network endpoint.

  • Method Details