Package io.vertx.reactivex.core.dns
Class SrvRecord
- java.lang.Object
-
- io.vertx.reactivex.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 boolean
equals(Object o)
SrvRecord
getDelegate()
int
hashCode()
String
name()
Returns the name for the server being queried.static SrvRecord
newInstance(SrvRecord arg)
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.String
toString()
int
weight()
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:
-
-