Package com.biglybt.pifimpl.local.ddb
Class DDBaseImpl.dbEvent
java.lang.Object
com.biglybt.pifimpl.local.ddb.DDBaseImpl.dbEvent
- All Implemented Interfaces:
DistributedDatabaseEvent
- Enclosing class:
DDBaseImpl
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate DDBaseContactImpl
private DistributedDatabaseKey
private DistributedDatabaseKeyStats
private int
private DistributedDatabaseValue
Fields inherited from interface com.biglybt.pif.ddb.DistributedDatabaseEvent
ET_DIVERSIFIED, ET_KEY_STATS_READ, ET_LOCAL_CONTACT_CHANGED, ET_OPERATION_COMPLETE, ET_OPERATION_STARTS, ET_OPERATION_TIMEOUT, ET_VALUE_DELETED, ET_VALUE_READ, ET_VALUE_WRITTEN
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
dbEvent
(int _type) protected
dbEvent
(int _type, DistributedDatabaseKey _key) protected
dbEvent
(int _type, DistributedDatabaseKey _key, DHTPluginContact _contact, byte[] _value, long _ct, long _v) protected
dbEvent
(int _type, DistributedDatabaseKey _key, DHTPluginContact _contact, DistributedDatabaseKeyStats _key_stats) protected
dbEvent
(int _type, DistributedDatabaseKey _key, DHTPluginContact _contact, DHTPluginValue _value) -
Method Summary
-
Field Details
-
type
private int type -
key
-
key_stats
-
value
-
contact
-
-
Constructor Details
-
dbEvent
protected dbEvent(int _type) -
dbEvent
-
dbEvent
protected dbEvent(int _type, DistributedDatabaseKey _key, DHTPluginContact _contact, DHTPluginValue _value) -
dbEvent
protected dbEvent(int _type, DistributedDatabaseKey _key, DHTPluginContact _contact, DistributedDatabaseKeyStats _key_stats) -
dbEvent
protected dbEvent(int _type, DistributedDatabaseKey _key, DHTPluginContact _contact, byte[] _value, long _ct, long _v)
-
-
Method Details
-
getType
public int getType()- Specified by:
getType
in interfaceDistributedDatabaseEvent
-
getKey
- Specified by:
getKey
in interfaceDistributedDatabaseEvent
-
getKeyStats
- Specified by:
getKeyStats
in interfaceDistributedDatabaseEvent
-
getValue
- Specified by:
getValue
in interfaceDistributedDatabaseEvent
-
getContact
- Specified by:
getContact
in interfaceDistributedDatabaseEvent
-