org.gudy.azureus2.pluginsimpl.local.ddb
Class DDBaseKeyImpl

java.lang.Object
  extended by org.gudy.azureus2.pluginsimpl.local.ddb.DDBaseKeyImpl
All Implemented Interfaces:
DistributedDatabaseKey

public class DDBaseKeyImpl
extends Object
implements DistributedDatabaseKey

Author:
parg

Field Summary
 
Fields inherited from interface org.gudy.azureus2.plugins.ddb.DistributedDatabaseKey
FL_ANON, FL_BRIDGED
 
Constructor Summary
protected DDBaseKeyImpl(Object _key)
           
protected DDBaseKeyImpl(Object _key, String _description)
           
 
Method Summary
protected  byte[] getBytes()
           
 String getDescription()
           
 int getFlags()
           
 Object getKey()
           
 void setFlags(int _flags)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DDBaseKeyImpl

protected DDBaseKeyImpl(Object _key)
                 throws DistributedDatabaseException
Throws:
DistributedDatabaseException

DDBaseKeyImpl

protected DDBaseKeyImpl(Object _key,
                        String _description)
                 throws DistributedDatabaseException
Throws:
DistributedDatabaseException
Method Detail

getKey

public Object getKey()
Specified by:
getKey in interface DistributedDatabaseKey

getBytes

protected byte[] getBytes()

getDescription

public String getDescription()
Specified by:
getDescription in interface DistributedDatabaseKey

getFlags

public int getFlags()
Specified by:
getFlags in interface DistributedDatabaseKey
Returns:

setFlags

public void setFlags(int _flags)
Specified by:
setFlags in interface DistributedDatabaseKey