vertx / io.vertx.reactivex.core.dns / SrvRecord

SrvRecord

open class SrvRecord

Represent a Service-Record (SRV) which was resolved for a domain. NOTE: This class has been automatically generated from the io.vertx.core.dns.SrvRecord non RX-ified interface using Vert.x codegen.

Constructors

<init>

SrvRecord(delegate: SrvRecord)

Properties

__TYPE_ARG

static val __TYPE_ARG: TypeArg<SrvRecord>

Functions

equals

open fun equals(other: Any?): Boolean

getDelegate

open fun getDelegate(): SrvRecord

hashCode

open fun hashCode(): Int

name

open fun name(): String

Returns the name for the server being queried.

newInstance

open static fun newInstance(arg: SrvRecord): SrvRecord

port

open fun port(): Int

Returns the port the service is running on.

priority

open fun priority(): Int

Returns the priority for this service record.

protocol

open fun protocol(): String

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

service

open fun service(): String

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

target

open fun target(): String

Returns the name of the host for the service.

toString

open fun toString(): String

weight

open fun weight(): Int

Returns the weight of this service record.