|
Smack | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jivesoftware.smack.util.dns.HostAddress
org.jivesoftware.smack.util.dns.SRVRecord
public class SRVRecord
| Constructor Summary | |
|---|---|
SRVRecord(java.lang.String fqdn,
int port,
int priority,
int weight)
Create a new SRVRecord |
|
| Method Summary | |
|---|---|
int |
compareTo(SRVRecord other)
|
int |
getPriority()
|
int |
getWeight()
|
java.lang.String |
toString()
|
| Methods inherited from class org.jivesoftware.smack.util.dns.HostAddress |
|---|
equals, getErrorMessage, getFQDN, getPort, hashCode, setException |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SRVRecord(java.lang.String fqdn,
int port,
int priority,
int weight)
fqdn - Fully qualified domain nameport - The connection portpriority - Priority of the target hostweight - Relative weight for records with same priority
java.lang.IllegalArgumentException - fqdn is null or any other field is not in valid range (0-65535).| Method Detail |
|---|
public int getPriority()
public int getWeight()
public int compareTo(SRVRecord other)
compareTo in interface java.lang.Comparable<SRVRecord>public java.lang.String toString()
toString in class HostAddress
|
Smack | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||