public static class DnsSrvRecordAddressResolver.SrvRecord extends Object implements Comparable<DnsSrvRecordAddressResolver.SrvRecord>
Constructor and Description |
---|
SrvRecord(int priority,
int weight,
int port,
String host) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(DnsSrvRecordAddressResolver.SrvRecord o) |
static DnsSrvRecordAddressResolver.SrvRecord |
fromSrvQueryResult(String srvResult) |
String |
getHost() |
int |
getPort() |
int |
getPriority() |
int |
getWeight() |
public SrvRecord(int priority, int weight, int port, String host)
public int getPriority()
public int getWeight()
public int getPort()
public String getHost()
public static DnsSrvRecordAddressResolver.SrvRecord fromSrvQueryResult(String srvResult)
public int compareTo(DnsSrvRecordAddressResolver.SrvRecord o)
compareTo
in interface Comparable<DnsSrvRecordAddressResolver.SrvRecord>
Copyright © 2024 Broadcom Inc. and its subsidiaries.. All rights reserved.