Package io.vertx.core.dns
Interface SrvRecord
-
public interface SrvRecordRepresent a Service-Record (SRV) which was resolved for a domain.- Author:
- Norman Maurer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Stringname()Returns the name for the server being queried.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.longttl()Returns the record time to liveintweight()Returns the weight of this service record.
-
-
-
Method Detail
-
priority
int priority()
Returns the priority for this service record.
-
ttl
long ttl()
Returns the record time to live
-
weight
int weight()
Returns the weight of this service record.
-
port
int port()
Returns the port the service is running on.
-
name
String name()
Returns the name for the server being queried.
-
protocol
String protocol()
Returns the protocol for the service being queried (i.e. "_tcp").
-
service
String service()
Returns the service's name (i.e. "_http").
-
target
String target()
Returns the name of the host for the service.
-
-