microsoft.exchange.webservices.data.dns
Class DnsSrvRecord

java.lang.Object
  extended by microsoft.exchange.webservices.data.dns.DnsSrvRecord

public class DnsSrvRecord
extends Object

Represents a DNS SRV Record.


Constructor Summary
DnsSrvRecord()
           
 
Method Summary
 String getName()
          Retrieves the value of the name property.
 String getNameTarget()
          Retrieves the value of the target property.
 int getPort()
          Retrieves the value of the port property.
 int getPriority()
          Retrieves the value of the priority property.
 int getTimeToLive()
          Retrieves the value of the timeToLive property.
 int getWeight()
          Retrieves the value of the weight property.
protected  void load(String srvRecord)
          Initializes a new instance of the DnsSrvRecord class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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


Copyright © 2012–2015 Microsoft. All rights reserved.