io.vertx.core.dns

## Interface SrvRecord

-     public interface SrvRecord

  Represent a Service-Record (SRV) which was resolved for a domain.
  Author:
    Norman Maurer

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `name()` Returns the name for the server being queried.
    `int` | `port()` Returns the port the service is running on.
    `int` | `priority()` Returns the priority for this service record.
    `String` | `protocol()` Returns the protocol for the service being queried (i.e.
    `String` | `service()` Returns the service's name (i.e.
    `String` | `target()` Returns the name of the host for the service.
    `int` | `weight()` Returns the weight of this service record.

- - ### Method Detail

    - #### priority

          int priority()

      Returns the priority for this service record.

    - #### weight

          int weight()

      Returns the weight of this service record.

    - #### port

          int port()

      Returns the port the service is running on.

    - #### name

          String name()

      Returns the name for the server being queried.

    - #### protocol

          String protocol()

      Returns the protocol for the service being queried (i.e. "_tcp").

    - #### service

          String service()

      Returns the service's name (i.e. "_http").

    - #### target

          String target()

      Returns the name of the host for the service.

Copyright © 2023 Eclipse. All rights reserved.