Package io.vertx.rxjava.core.dns
Class SrvRecord
- java.lang.Object
-
- io.vertx.rxjava.core.dns.SrvRecord
-
public class SrvRecord extends Object
Represent a Service-Record (SRV) which was resolved for a domain. NOTE: This class has been automatically generated from theoriginalnon RX-ified interface using Vert.x codegen.
-
-
Field Summary
Fields Modifier and Type Field Description static TypeArg<SrvRecord>__TYPE_ARG
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)io.vertx.core.dns.SrvRecordgetDelegate()inthashCode()Stringname()Returns the name for the server being queried.static SrvRecordnewInstance(io.vertx.core.dns.SrvRecord arg)intport()Returns the port the service is running on.intpriority()Returns the priority for this service record.Stringprotocol()Returns the protocol for the service being queried (i.e.Stringservice()Returns the service's name (i.e.Stringtarget()Returns the name of the host for the service.StringtoString()intweight()Returns the weight of this service record.
-
-
-
Constructor Detail
-
SrvRecord
public SrvRecord(io.vertx.core.dns.SrvRecord delegate)
-
SrvRecord
public SrvRecord(Object delegate)
-
-
Method Detail
-
getDelegate
public io.vertx.core.dns.SrvRecord getDelegate()
-
priority
public int priority()
Returns the priority for this service record.- Returns:
-
weight
public int weight()
Returns the weight of this service record.- Returns:
-
port
public int port()
Returns the port the service is running on.- Returns:
-
name
public String name()
Returns the name for the server being queried.- Returns:
-
protocol
public String protocol()
Returns the protocol for the service being queried (i.e. "_tcp").- Returns:
-
service
public String service()
Returns the service's name (i.e. "_http").- Returns:
-
target
public String target()
Returns the name of the host for the service.- Returns:
-
newInstance
public static SrvRecord newInstance(io.vertx.core.dns.SrvRecord arg)
-
-