Package com.biglybt.pifimpl.local.ddb
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 boolean
private int
private boolean
private boolean
private DistributedDatabaseKey
private byte[]
private DistributedDatabaseListener
private long
private int
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
listenerMapper
(DistributedDatabaseListener _listener, int _type, DistributedDatabaseKey _key, byte[] _key_bytes, long _timeout, int _continuation_num) protected
listenerMapper
(DistributedDatabaseListener _listener, int _type, DistributedDatabaseKey _key, long _timeout, boolean _exhaustive, boolean _high_priority) -
Method Summary
Modifier and TypeMethodDescriptionvoid
complete
(byte[] timeout_key, boolean timeout_occurred) boolean
void
starts
(byte[] _key) void
valueRead
(DHTPluginContact originator, DHTPluginValue _value) void
valueWritten
(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:
diversified
in interfaceDHTPluginOperationListener
-
starts
public void starts(byte[] _key) - Specified by:
starts
in interfaceDHTPluginOperationListener
-
valueRead
- Specified by:
valueRead
in interfaceDHTPluginOperationListener
-
valueWritten
- Specified by:
valueWritten
in interfaceDHTPluginOperationListener
-
complete
public void complete(byte[] timeout_key, boolean timeout_occurred) - Specified by:
complete
in interfaceDHTPluginOperationListener
-