Package com.rabbitmq.client
Class DnsSrvRecordAddressResolver.SrvRecord
- java.lang.Object
-
- com.rabbitmq.client.DnsSrvRecordAddressResolver.SrvRecord
-
- All Implemented Interfaces:
Comparable<DnsSrvRecordAddressResolver.SrvRecord>
- Enclosing class:
- DnsSrvRecordAddressResolver
public static class DnsSrvRecordAddressResolver.SrvRecord extends Object implements Comparable<DnsSrvRecordAddressResolver.SrvRecord>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(DnsSrvRecordAddressResolver.SrvRecord o)
static DnsSrvRecordAddressResolver.SrvRecord
fromSrvQueryResult(String srvResult)
String
getHost()
int
getPort()
int
getPriority()
int
getWeight()
-
-
-
Constructor Detail
-
SrvRecord
public SrvRecord(int priority, int weight, int port, String host)
-
-
Method Detail
-
getPriority
public int getPriority()
-
getWeight
public int getWeight()
-
getPort
public int getPort()
-
getHost
public String getHost()
-
fromSrvQueryResult
public static DnsSrvRecordAddressResolver.SrvRecord fromSrvQueryResult(String srvResult)
-
compareTo
public int compareTo(DnsSrvRecordAddressResolver.SrvRecord o)
- Specified by:
compareTo
in interfaceComparable<DnsSrvRecordAddressResolver.SrvRecord>
-
-