Package io.vertx.rxjava.core.dns
Class SrvRecord
- java.lang.Object
-
- io.vertx.rxjava.core.dns.SrvRecord
-
-
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)SrvRecordgetDelegate()inthashCode()Stringname()Returns the name for the server being queried.static SrvRecordnewInstance(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.
-
-
-
Method Detail
-
getDelegate
public 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:
-
-