|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.littleshoot.util.DnsSrvCandidateProvider
public class DnsSrvCandidateProvider
Candidate provider that uses native commands to lookup SRV records.
| Constructor Summary | |
|---|---|
DnsSrvCandidateProvider(String lookupName)
Creates a new DNS candidate provider with the specified SRV name to lookup. |
|
| Method Summary | |
|---|---|
InetSocketAddress |
getCandidate()
Accessor for a single candidate. |
Collection<InetSocketAddress> |
getCandidates()
Accessor for the Collection of candidates for the task at hand. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DnsSrvCandidateProvider(String lookupName)
lookupName - The SRV name to lookup.| Method Detail |
|---|
public InetSocketAddress getCandidate()
CandidateProvider
getCandidate in interface CandidateProvider<InetSocketAddress>public Collection<InetSocketAddress> getCandidates()
CandidateProviderCollection of candidates for the task at hand.
getCandidates in interface CandidateProvider<InetSocketAddress>Collection of candidates for the task at hand.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||