public class EepGetAndAddNamingService
- extends EepGetNamingService
Simple extension to EepGetNamingService to append what we find to hosts.txt,
so we only have to do an EepGet query once.
Note that there is little protection - there are a lot of validity checks in addressbook that are
not included here.
MUST be used from MetaNamingService, after HostsTxtNamingService.
Cannot be used as the only NamingService! Be sure any naming service hosts
are in hosts.txt. If this isn't after HostsTxtNamingService, you will
clog up your hosts.txt with duplicate entries.
Sample config to put in configadvanced.jsp (restart required):
|Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public EepGetAndAddNamingService(I2PAppContext context)
public Destination lookup(java.lang.String hostname)
- Description copied from class:
- Look up a host name.
lookup in class
- the Destination for this host name, or
null if name is unknown.