Class DDBaseImpl.listenerMapper
java.lang.Object
com.biglybt.pifimpl.local.ddb.DDBaseImpl.listenerMapper
- All Implemented Interfaces:
DHTPluginOperationListener
- Enclosing class:
DDBaseImpl
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprivate intprivate booleanprivate booleanprivate DistributedDatabaseKeyprivate byte[]private DistributedDatabaseListenerprivate longprivate int -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivatelistenerMapper(DistributedDatabaseListener _listener, int _type, DistributedDatabaseKey _key, byte[] _key_bytes, long _timeout, int _continuation_num) protectedlistenerMapper(DistributedDatabaseListener _listener, int _type, DistributedDatabaseKey _key, long _timeout, boolean _exhaustive, boolean _high_priority) -
Method Summary
Modifier and TypeMethodDescriptionvoidcomplete(byte[] timeout_key, boolean timeout_occurred) booleanvoidstarts(byte[] _key) voidvalueRead(DHTPluginContact originator, DHTPluginValue _value) voidvalueWritten(DHTPluginContact target, DHTPluginValue value)
-
Field Details
-
listener
-
type
private int type -
key
-
key_bytes
private byte[] key_bytes -
timeout
private long timeout -
complete_disabled
private boolean complete_disabled -
exhaustive
private boolean exhaustive -
high_priority
private boolean high_priority -
continuation_num
private int continuation_num
-
-
Constructor Details
-
listenerMapper
protected listenerMapper(DistributedDatabaseListener _listener, int _type, DistributedDatabaseKey _key, long _timeout, boolean _exhaustive, boolean _high_priority) -
listenerMapper
private listenerMapper(DistributedDatabaseListener _listener, int _type, DistributedDatabaseKey _key, byte[] _key_bytes, long _timeout, int _continuation_num)
-
-
Method Details
-
diversified
public boolean diversified()- Specified by:
diversifiedin interfaceDHTPluginOperationListener
-
starts
public void starts(byte[] _key) - Specified by:
startsin interfaceDHTPluginOperationListener
-
valueRead
- Specified by:
valueReadin interfaceDHTPluginOperationListener
-
valueWritten
- Specified by:
valueWrittenin interfaceDHTPluginOperationListener
-
complete
public void complete(byte[] timeout_key, boolean timeout_occurred) - Specified by:
completein interfaceDHTPluginOperationListener
-