Top Description Methods
io.vertx.core.dns

public Interface SrvRecord

Known Direct Implementers
io.vertx.core.dns.impl.SrvRecordImpl
Annotations
@VertxGen
Imports
io.vertx.codegen.annotations.Nullable, .VertxGen

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

Method Summary

Modifier and TypeMethod and Description
public String
name()

Returns the name for the server being queried.

public int
port()

Returns the port the service is running on.

public int
priority()

Returns the priority for this service record.

public String
protocol()

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

public String
service()

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

public @Nullable String
target()

Returns the name of the host for the service.

public int
weight()

Returns the weight of this service record.

Method Detail

nameback to summary
public String name()

Returns the name for the server being queried.

portback to summary
public int port()

Returns the port the service is running on.

priorityback to summary
public int priority()

Returns the priority for this service record.

protocolback to summary
public String protocol()

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

serviceback to summary
public String service()

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

targetback to summary
public @Nullable String target()

Returns the name of the host for the service.

weightback to summary
public int weight()

Returns the weight of this service record.