org.littleshoot.util
Class SrvUtilImpl
java.lang.Object
org.littleshoot.util.SrvUtilImpl
- All Implemented Interfaces:
- SrvUtil
public class SrvUtilImpl
- extends Object
- implements SrvUtil
Utility method for accessing DNS SRV records.
|
Constructor Summary |
SrvUtilImpl()
Creates a new SRV utility class. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SrvUtilImpl
public SrvUtilImpl()
- Creates a new SRV utility class.
getAddresses
public Collection<InetSocketAddress> getAddresses(String lookupName)
throws IOException
- Specified by:
getAddresses in interface SrvUtil
- Throws:
IOException
getAddress
public InetSocketAddress getAddress(String lookupName)
throws IOException
- Specified by:
getAddress in interface SrvUtil
- Throws:
IOException
Copyright © 2011-2013 LittleShoot. All Rights Reserved.