Class DhtMutableItemAlert
java.lang.Object
com.frostwire.jlibtorrent.alerts.AbstractAlert<dht_mutable_item_alert>
com.frostwire.jlibtorrent.alerts.DhtMutableItemAlert
- All Implemented Interfaces:
Alert<dht_mutable_item_alert>
This alert is posted as a response to a call to session::get_item(),
specifically the overload for looking up mutable items in the DHT.
-
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
-
Method Details
-
key
public byte[] key()The public key that was looked up.- Returns:
-
signature
public byte[] signature()The signature of the data. This is not the signature of the plain encoded form of the item, but it includes the sequence number and possibly the hash as well. See the dht_store document for more information. This is primarily useful for echoing back in a store request.- Returns:
-
seq
public long seq()The sequence number of this item.- Returns:
-
salt
public byte[] salt()The salt, if any, used to lookup and store this item. If no salt was used, this is an empty string.- Returns:
-
item
-