se.unlogic.eagledns
Class EagleDNS

java.lang.Object
  extended by se.unlogic.eagledns.EagleDNS
All Implemented Interfaces:
Runnable, Remote, EagleManager

public class EagleDNS
extends Object
implements 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  CountDownLatch shutdownLatch
           
static String VERSION
           
 
Constructor Summary
EagleDNS()
           
 
Method Summary
protected  ThreadPoolExecutor getTcpThreadPool()
           
protected  ThreadPoolExecutor getUdpThreadPool()
           
 boolean isShutdown()
           
 void reloadZones()
           
 void run()
           
 void setConfigClassPath(String path)
           
 void setConfigFilePath(String configFilePath)
           
 void shutdown()
           
 void start()
           
static String toString(org.xbill.DNS.Record record)
           
protected  void UDPClient(DatagramSocket socket, DatagramPacket inDataPacket)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VERSION

public static final String VERSION
See Also:
Constant Field Values

shutdownLatch

protected CountDownLatch shutdownLatch
Constructor Detail

EagleDNS

public EagleDNS()
         throws UnknownHostException
Throws:
UnknownHostException
Method Detail

setConfigFilePath

public void setConfigFilePath(String configFilePath)

setConfigClassPath

public void setConfigClassPath(String path)

start

public void start()
           throws UnknownHostException
Throws:
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(DatagramSocket socket,
                         DatagramPacket inDataPacket)

toString

public static String toString(org.xbill.DNS.Record record)

run

public void run()
Specified by:
run in interface Runnable

getTcpThreadPool

protected ThreadPoolExecutor getTcpThreadPool()

getUdpThreadPool

protected ThreadPoolExecutor getUdpThreadPool()

isShutdown

public boolean isShutdown()


Copyright © 2011. All Rights Reserved.