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 theoriginal
non 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 boolean
equals(Object o)
io.vertx.core.dns.SrvRecord
getDelegate()
int
hashCode()
String
name()
Returns the name for the server being queried.static SrvRecord
newInstance(io.vertx.core.dns.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.
-
-
-
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)
-
-