net.i2p.client.naming
Class PetNameNamingService
java.lang.Object
net.i2p.client.naming.NamingService
net.i2p.client.naming.PetNameNamingService
Deprecated. unused
public class PetNameNamingService
- extends NamingService
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROP_PETNAME_FILE
public static final String PROP_PETNAME_FILE
- Deprecated.
- See Also:
- Constant Field Values
DEFAULT_PETNAME_FILE
public static final String DEFAULT_PETNAME_FILE
- Deprecated.
- See Also:
- Constant Field Values
PetNameNamingService
public PetNameNamingService(I2PAppContext context)
- Deprecated.
lookup
public Destination lookup(String hostname)
- Deprecated.
- Description copied from class:
NamingService
- Look up a host name.
- Specified by:
lookup
in class NamingService
- Returns:
- the Destination for this host name, or
null
if name is unknown.
reverseLookup
public String reverseLookup(Destination dest)
- Deprecated.
- Description copied from class:
NamingService
- Reverse look up a destination
- Overrides:
reverseLookup
in class NamingService
- Returns:
- a host name for this Destination, or
null
if none is known. It is safe for subclasses to always return
null
if no reverse lookup is possible.