1 // Copyright 2003-2005 Arthur van Hoff, Rick Blair 2 // Licensed under Apache License version 2.0 3 // Original license LGPL 4 5 package javax.jmdns.impl; 6 7 // REMIND: Listener should follow Java idiom for listener or have a different 8 // name. 9 10 /** 11 * DNSListener. Listener for record updates. 12 * 13 * @author Werner Randelshofer, Rick Blair 14 * @version 1.0 May 22, 2004 Created. 15 */ 16 interface DNSListener { 17 /** 18 * Update a DNS record. 19 * 20 * @param dnsCache 21 * record cache 22 * @param now 23 * update date 24 * @param record 25 * DNS record 26 */ 27 void updateRecord(DNSCache dnsCache, long now, DNSEntry record); 28 }