Class DnsSrvRecord
- java.lang.Object
-
- microsoft.exchange.webservices.data.dns.DnsSrvRecord
-
public class DnsSrvRecord extends Object
Represents a DNS SRV Record.
-
-
Constructor Summary
Constructors Constructor Description DnsSrvRecord()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()Retrieves the value of the name property.StringgetNameTarget()Retrieves the value of the target property.intgetPort()Retrieves the value of the port property.intgetPriority()Retrieves the value of the priority property.intgetTimeToLive()Retrieves the value of the timeToLive property.intgetWeight()Retrieves the value of the weight property.protected voidload(String srvRecord)Initializes a new instance of the DnsSrvRecord class.
-
-
-
Constructor Detail
-
DnsSrvRecord
public DnsSrvRecord()
-
-
Method Detail
-
getNameTarget
public String getNameTarget()
Retrieves the value of the target property.- Returns:
- target
-
getPriority
public int getPriority()
Retrieves the value of the priority property.- Returns:
- priority
-
getWeight
public int getWeight()
Retrieves the value of the weight property.- Returns:
- weight
-
getPort
public int getPort()
Retrieves the value of the port property.- Returns:
- port
-
load
protected void load(String srvRecord) throws DnsException
Initializes a new instance of the DnsSrvRecord class.- Parameters:
srvRecord- srvRecord that is fetched from JNDI- Throws:
DnsException- the dns exception
-
getName
public String getName()
Retrieves the value of the name property.- Returns:
- name
-
getTimeToLive
public int getTimeToLive()
Retrieves the value of the timeToLive property.- Returns:
- timeToLive
-
-