org.apache.james.jspf
Class LoggingDNSService

java.lang.Object
  extended by org.apache.james.jspf.LoggingDNSService
All Implemented Interfaces:
DNSService

public class LoggingDNSService
extends java.lang.Object
implements DNSService


Constructor Summary
LoggingDNSService(DNSService service, Logger logger)
           
 
Method Summary
 java.util.List getLocalDomainNames()
           
 int getRecordLimit()
           
 java.util.List getRecords(DNSRequest request)
           
 void setRecordLimit(int recordLimit)
           
 void setTimeOut(int timeOut)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoggingDNSService

public LoggingDNSService(DNSService service,
                         Logger logger)
Method Detail

getRecordLimit

public int getRecordLimit()
Specified by:
getRecordLimit in interface DNSService

setRecordLimit

public void setRecordLimit(int recordLimit)
Specified by:
setRecordLimit in interface DNSService

getLocalDomainNames

public java.util.List getLocalDomainNames()
Specified by:
getLocalDomainNames in interface DNSService

setTimeOut

public void setTimeOut(int timeOut)
Specified by:
setTimeOut in interface DNSService

getRecords

public java.util.List getRecords(DNSRequest request)
                          throws TimeoutException
Specified by:
getRecords in interface DNSService
Throws:
TimeoutException


Copyright © 2006-2009 The Apache Software Foundation. All Rights Reserved.