se.unlogic.eagledns
Class EagleDNS
java.lang.Object
se.unlogic.eagledns.EagleDNS
- All Implemented Interfaces:
- java.lang.Runnable, java.rmi.Remote, EagleManager
public class EagleDNS
- extends java.lang.Object
- implements java.lang.Runnable, EagleManager
EagleDNS copyright Robert "Unlogic" Olofsson (unlogic@unlogic.se)
Based on the jnamed class from the dnsjava project (http://www.dnsjava.org/) copyright (c) 1999-2004 Brian Wellington (bwelling@xbill.org)
- Author:
- Robert "Unlogic" Olofsson, Michael Neale, Red Hat (JBoss division)
Field Summary |
protected java.util.concurrent.CountDownLatch |
shutdownLatch
|
static java.lang.String |
VERSION
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VERSION
public static final java.lang.String VERSION
- See Also:
- Constant Field Values
shutdownLatch
protected java.util.concurrent.CountDownLatch shutdownLatch
EagleDNS
public EagleDNS()
throws java.net.UnknownHostException
- Throws:
java.net.UnknownHostException
setConfigFilePath
public void setConfigFilePath(java.lang.String configFilePath)
setConfigClassPath
public void setConfigClassPath(java.lang.String path)
start
public void start()
throws java.net.UnknownHostException
- Throws:
java.net.UnknownHostException
shutdown
public void shutdown()
- Specified by:
shutdown
in interface EagleManager
reloadZones
public void reloadZones()
- Specified by:
reloadZones
in interface EagleManager
UDPClient
protected void UDPClient(java.net.DatagramSocket socket,
java.net.DatagramPacket inDataPacket)
toString
public static java.lang.String toString(org.xbill.DNS.Record record)
run
public void run()
- Specified by:
run
in interface java.lang.Runnable
getTcpThreadPool
protected java.util.concurrent.ThreadPoolExecutor getTcpThreadPool()
getUdpThreadPool
protected java.util.concurrent.ThreadPoolExecutor getUdpThreadPool()
isShutdown
public boolean isShutdown()
Copyright © 2011. All Rights Reserved.