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
protected class DDBaseImpl.listenerMapper extends java.lang.Object implements DHTPluginOperationListener
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
complete_disabled
private int
continuation_num
private boolean
exhaustive
private boolean
high_priority
private DistributedDatabaseKey
key
private byte[]
key_bytes
private DistributedDatabaseListener
listener
private long
timeout
private int
type
-
Constructor Summary
Constructors Modifier Constructor Description private
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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
complete(byte[] timeout_key, boolean timeout_occurred)
boolean
diversified()
void
starts(byte[] _key)
void
valueRead(DHTPluginContact originator, DHTPluginValue _value)
void
valueWritten(DHTPluginContact target, DHTPluginValue value)
-
-
-
Field Detail
-
listener
private DistributedDatabaseListener listener
-
type
private int type
-
key
private DistributedDatabaseKey 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 Detail
-
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 Detail
-
diversified
public boolean diversified()
- Specified by:
diversified
in interfaceDHTPluginOperationListener
-
starts
public void starts(byte[] _key)
- Specified by:
starts
in interfaceDHTPluginOperationListener
-
valueRead
public void valueRead(DHTPluginContact originator, DHTPluginValue _value)
- Specified by:
valueRead
in interfaceDHTPluginOperationListener
-
valueWritten
public void valueWritten(DHTPluginContact target, DHTPluginValue value)
- Specified by:
valueWritten
in interfaceDHTPluginOperationListener
-
complete
public void complete(byte[] timeout_key, boolean timeout_occurred)
- Specified by:
complete
in interfaceDHTPluginOperationListener
-
-