org.apache.directory.server.dns.service
Class DnsContext

java.lang.Object
  extended by org.apache.directory.server.dns.service.DnsContext

public class DnsContext
extends java.lang.Object

Version:
$Rev: 583938 $, $Date: 2007-10-11 21:57:20 +0200 (Do, 11 Okt 2007) $
Author:
Apache Directory Project

Constructor Summary
DnsContext()
           
 
Method Summary
 void addResourceRecord(ResourceRecord resourceRecord)
           
 void addResourceRecords(java.util.Collection<ResourceRecord> resourceRecords)
           
 DnsServer getConfig()
           
 DnsMessage getReply()
           
 java.util.List<ResourceRecord> getResourceRecords()
           
 RecordStore getStore()
           
 void setConfig(DnsServer config)
           
 void setReply(DnsMessage reply)
           
 void setStore(RecordStore store)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DnsContext

public DnsContext()
Method Detail

getResourceRecords

public java.util.List<ResourceRecord> getResourceRecords()
Returns:
Returns the recordEntry.

addResourceRecord

public void addResourceRecord(ResourceRecord resourceRecord)
Parameters:
resourceRecord - The resourceRecord to add.

addResourceRecords

public void addResourceRecords(java.util.Collection<ResourceRecord> resourceRecords)
Parameters:
resourceRecords - The resourceRecords to add.

getConfig

public DnsServer getConfig()
Returns:
Returns the config.

setConfig

public void setConfig(DnsServer config)
Parameters:
config - The config to set.

getReply

public DnsMessage getReply()
Returns:
Returns the reply.

setReply

public void setReply(DnsMessage reply)
Parameters:
reply - The reply to set.

getStore

public RecordStore getStore()
Returns:
Returns the store.

setStore

public void setStore(RecordStore store)
Parameters:
store - The store to set.


Copyright © 2003-2009 Apache Software Foundation. All Rights Reserved.