com.limegroup.gnutella.xml
Class XMLHostCache
java.lang.Object
com.limegroup.gnutella.xml.XMLHostCache
- public class XMLHostCache
- extends java.lang.Object
This class provides IP addresses for specialized gnutella content
deliverers.
Method Summary |
static void |
debug(java.lang.String out)
|
java.lang.String[] |
getCachedHostsForURI(java.lang.String schemaURI)
|
static void |
main(java.lang.String[] argv)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLHostCache
public XMLHostCache()
throws java.lang.Exception
- Throws:
java.lang.Exception
- Thrown if could not access underlying DB.
getCachedHostsForURI
public java.lang.String[] getCachedHostsForURI(java.lang.String schemaURI)
- Returns:
- A array of Strings which are addresses of category specific
gnutella servents (the assumed port is 6346). May return null.
main
public static void main(java.lang.String[] argv)
throws java.lang.Exception
- Throws:
java.lang.Exception
debug
public static final void debug(java.lang.String out)