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 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 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 Object getProperty(byte[] hash,
String property_name)
generateHTTPProperties
public void generateHTTPProperties(byte[] hash,
Properties properties)
throws ClientIDException
- Throws:
ClientIDException