public class DnsSrvRecord extends Object
Constructor and Description |
---|
DnsSrvRecord() |
Modifier and Type | Method and Description |
---|---|
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.
|
public DnsSrvRecord()
public String getNameTarget()
public int getPriority()
public int getWeight()
public int getPort()
protected void load(String srvRecord) throws DnsException
srvRecord
- srvRecord that is fetched from JNDIDnsException
- the dns exceptionpublic int getTimeToLive()
Copyright © 2012–2015 Microsoft. All rights reserved.