Modifier and Type | Method and Description |
---|---|
int |
compareTo(SrvRecord o) |
int |
getPort()
Gets the port on this target host of this service.
|
int |
getPriority()
Gets the priority of this target host.
|
java.lang.String |
getTarget()
Gets the domain name of the target host.
|
int |
getWeight()
Gets the weight of this target host.
|
java.lang.String |
toString() |
public final int getPriority()
Gets the priority of this target host.
public final int getWeight()
Gets the weight of this target host. The weight field specifies a relative weight for entries with the same priority.
public final int getPort()
Gets the port on this target host of this service.
public final java.lang.String getTarget()
Gets the domain name of the target host.
public final int compareTo(SrvRecord o)
compareTo
in interface java.lang.Comparable<SrvRecord>
public final java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2014–2019 XMPP.rocks. All rights reserved.