public class SRVRecord
extends java.lang.Object
Constructor and Description |
---|
SRVRecord(org.xbill.DNS.SRVRecord record)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
Get domain name.
|
int |
getPort()
Get port.
|
int |
getPriority()
Get priority.
|
java.lang.String |
getTarget()
Get target.
|
long |
getTTL()
Get DNS TTL.
|
int |
getWeight()
Get weight.
|
java.lang.String |
toString()
Returns the toString of the org.xbill.DNS.SRVRecord that was passed to
the constructor.
|
public SRVRecord(org.xbill.DNS.SRVRecord record)
record
- DNSJava SRVRecordpublic int getPort()
public java.lang.String getTarget()
public int getPriority()
public int getWeight()
public long getTTL()
public java.lang.String getName()
public java.lang.String toString()
toString
in class java.lang.Object
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.