org.gudy.azureus2.pluginsimpl.local.clientid
Class ClientIDManagerImpl
java.lang.Object
org.gudy.azureus2.pluginsimpl.local.clientid.ClientIDManagerImpl
- All Implemented Interfaces:
- ClientIDManager
public class ClientIDManagerImpl
- extends java.lang.Object
- implements ClientIDManager
- Author:
- parg
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
singleton
protected static ClientIDManagerImpl singleton
CR
protected static final char CR
- See Also:
- Constant Field Values
FF
protected static final char FF
- See Also:
- Constant Field Values
NL
protected static final java.lang.String NL
- See Also:
- Constant Field Values
ClientIDManagerImpl
public ClientIDManagerImpl()
getSingleton
public static ClientIDManagerImpl getSingleton()
setGenerator
public void setGenerator(ClientIDGenerator _generator,
boolean _use_filter)
getGenerator
public ClientIDGenerator getGenerator()
- Specified by:
getGenerator
in interface ClientIDManager
generatePeerID
public byte[] generatePeerID(byte[] hash,
boolean for_tracker)
throws ClientIDException
- Throws:
ClientIDException
getProperty
public java.lang.Object getProperty(byte[] hash,
java.lang.String property_name)
generateHTTPProperties
public void generateHTTPProperties(byte[] hash,
java.util.Properties properties)
throws ClientIDException
- Throws:
ClientIDException