Class DhtPutAlert
java.lang.Object
com.frostwire.jlibtorrent.alerts.AbstractAlert<dht_put_alert>
com.frostwire.jlibtorrent.alerts.DhtPutAlert
- All Implemented Interfaces:
Alert<dht_put_alert>
This is posted when a DHT put operation completes. This is useful if the
client is waiting for a put to complete before shutting down for instance.
-
Field Summary
Fields inherited from class com.frostwire.jlibtorrent.alerts.AbstractAlert
alertFields inherited from interface com.frostwire.jlibtorrent.alerts.Alert
ALL_CATEGORIES, BLOCK_PROGRESS_NOTIFICATION, CONNECT_NOTIFICATION, DHT_LOG_NOTIFICATION, DHT_NOTIFICATION, DHT_OPERATION_NOTIFICATION, ERROR_NOTIFICATION, FILE_PROGRESS_NOTIFICATION, INCOMING_REQUEST_NOTIFICATION, IP_BLOCK_NOTIFICATION, PEER_LOG_NOTIFICATION, PEER_NOTIFICATION, PERFORMANCE_WARNING, PICKER_LOG_NOTIFICATION, PIECE_PROGRESS_NOTIFICATION, PORT_MAPPING_LOG_NOTIFICATION, PORT_MAPPING_NOTIFICATION, SESSION_LOG_NOTIFICATION, STATUS_NOTIFICATION, STORAGE_NOTIFICATION, TORRENT_LOG_NOTIFICATION, TRACKER_NOTIFICATION, UPLOAD_NOTIFICATION -
Method Summary
Modifier and TypeMethodDescriptionbyte[]if a mutable item was stored, these are the public key, signature, salt and sequence number the item was stored under.byte[]salt()if a mutable item was stored, these are the public key, signature, salt and sequence number the item was stored under.longseq()if a mutable item was stored, these are the public key, signature, salt and sequence number the item was stored under.byte[]if a mutable item was stored, these are the public key, signature, salt and sequence number the item was stored under.target()The target hash the item was stored under if this was an *immutable* item.
-
Method Details
-
target
The target hash the item was stored under if this was an *immutable* item.- Returns:
-
publicKey
public byte[] publicKey()if a mutable item was stored, these are the public key, signature, salt and sequence number the item was stored under.- Returns:
-
signature
public byte[] signature()if a mutable item was stored, these are the public key, signature, salt and sequence number the item was stored under.- Returns:
-
salt
public byte[] salt()if a mutable item was stored, these are the public key, signature, salt and sequence number the item was stored under.- Returns:
-
seq
public long seq()if a mutable item was stored, these are the public key, signature, salt and sequence number the item was stored under.- Returns:
-