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 DDBaseContactImplprivate DistributedDatabaseKeyprivate DistributedDatabaseKeyStatsprivate intprivate DistributedDatabaseValueFields inherited from interface 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
ConstructorsModifierConstructorDescriptionprotecteddbEvent(int _type) protecteddbEvent(int _type, DistributedDatabaseKey _key) protecteddbEvent(int _type, DistributedDatabaseKey _key, DHTPluginContact _contact, byte[] _value, long _ct, long _v) protecteddbEvent(int _type, DistributedDatabaseKey _key, DHTPluginContact _contact, DistributedDatabaseKeyStats _key_stats) protecteddbEvent(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:
getTypein interfaceDistributedDatabaseEvent
-
getKey
- Specified by:
getKeyin interfaceDistributedDatabaseEvent
-
getKeyStats
- Specified by:
getKeyStatsin interfaceDistributedDatabaseEvent
-
getValue
- Specified by:
getValuein interfaceDistributedDatabaseEvent
-
getContact
- Specified by:
getContactin interfaceDistributedDatabaseEvent
-