| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static List | |
| public static List |
| DnsSrv | back to summary |
|---|---|
| public DnsSrv() | |
| lookupSrvRecords | back to summary |
|---|---|
| public static List | |
| sortSrvRecords | back to summary |
|---|---|
| public static List Sort a list of DNS SRV records according to the sorting rules described in rfc2782. | |
| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| private final int | |
| private final String | |
| private final int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static DnsSrv. | |
| public int | compareTo(DnsSrv.
the object to be compared. oImplements java. Compares this object with the specified object for order. |
| public int | |
| public int | |
| public String | |
| public int | |
| public String |
| port | back to summary |
|---|---|
| private final int port | |
| priority | back to summary |
|---|---|
| private final int priority | |
| target | back to summary |
|---|---|
| private final String target | |
| weight | back to summary |
|---|---|
| private final int weight | |
| SrvRecord | back to summary |
|---|---|
| public SrvRecord(int priority, int weight, int port, String target) | |
| buildFrom | back to summary |
|---|---|
| public static DnsSrv. | |
| compareTo | back to summary |
|---|---|
| public int compareTo(DnsSrv. Implements java. Doc from java. Compares this object with the specified object for order. Returns a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object. The implementor must ensure The implementor must also ensure that the relation is transitive:
Finally, the implementor must ensure that | |
| getPort | back to summary |
|---|---|
| public int getPort() | |
| getPriority | back to summary |
|---|---|
| public int getPriority() | |
| getTarget | back to summary |
|---|---|
| public String getTarget() | |
| getWeight | back to summary |
|---|---|
| public int getWeight() | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |