verinec.netsim.processors.dns
Class DNSNameService
java.lang.Object
verinec.netsim.processors.dns.DNSNameService
- All Implemented Interfaces:
- sun.net.spi.nameservice.NameService
public class DNSNameService
- extends Object
- implements sun.net.spi.nameservice.NameService
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DNSNameService
public DNSNameService()
getHostByAddr
public String getHostByAddr(byte[] arg0)
throws UnknownHostException
- Specified by:
getHostByAddr in interface sun.net.spi.nameservice.NameService
- Throws:
UnknownHostException- See Also:
NameService.getHostByAddr(byte[])
lookupAllHostAddr
public byte[][] lookupAllHostAddr(String arg0)
throws UnknownHostException
- Specified by:
lookupAllHostAddr in interface sun.net.spi.nameservice.NameService
- Throws:
UnknownHostException- See Also:
NameService.lookupAllHostAddr(java.lang.String)
payloadToByteArray
public static byte[] payloadToByteArray(Object payload)
throws Exception
- Throws:
Exception