Package com.biglybt.pifimpl.local.ddb
Class DDBaseKeyImpl
- java.lang.Object
-
- com.biglybt.pifimpl.local.ddb.DDBaseKeyImpl
-
- All Implemented Interfaces:
DistributedDatabaseKey
public class DDBaseKeyImpl extends java.lang.Object implements DistributedDatabaseKey
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
description
private int
flags
private java.lang.Object
key
private byte[]
key_bytes
-
Fields inherited from interface com.biglybt.pif.ddb.DistributedDatabaseKey
FL_ANON, FL_BRIDGED
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
DDBaseKeyImpl(java.lang.Object _key)
protected
DDBaseKeyImpl(java.lang.Object _key, java.lang.String _description)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected byte[]
getBytes()
java.lang.String
getDescription()
int
getFlags()
java.lang.Object
getKey()
void
setFlags(int _flags)
-
-
-
Constructor Detail
-
DDBaseKeyImpl
protected DDBaseKeyImpl(java.lang.Object _key) throws DistributedDatabaseException
- Throws:
DistributedDatabaseException
-
DDBaseKeyImpl
protected DDBaseKeyImpl(java.lang.Object _key, java.lang.String _description) throws DistributedDatabaseException
- Throws:
DistributedDatabaseException
-
-
Method Detail
-
getKey
public java.lang.Object getKey()
- Specified by:
getKey
in interfaceDistributedDatabaseKey
-
getBytes
protected byte[] getBytes()
-
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription
in interfaceDistributedDatabaseKey
-
getFlags
public int getFlags()
- Specified by:
getFlags
in interfaceDistributedDatabaseKey
- Returns:
-
setFlags
public void setFlags(int _flags)
- Specified by:
setFlags
in interfaceDistributedDatabaseKey
-
-