Class BlockUploadedAlert
java.lang.Object
com.frostwire.jlibtorrent.alerts.AbstractAlert<block_uploaded_alert>
com.frostwire.jlibtorrent.alerts.TorrentAlert<block_uploaded_alert>
com.frostwire.jlibtorrent.alerts.PeerAlert<block_uploaded_alert>
com.frostwire.jlibtorrent.alerts.BlockUploadedAlert
- All Implemented Interfaces:
Alert<block_uploaded_alert>
This alert is posted when a block intended to be sent to a peer is placed in the
send buffer. Note that if the connection is closed before the send buffer is sent,
the alert may be posted without the bytes having been sent to the peer.
It belongs to the ``progress_notification`` category.
-
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
Methods inherited from class com.frostwire.jlibtorrent.alerts.TorrentAlert
handle, torrentName
-
Method Details
-
blockIndex
public int blockIndex()- Returns:
- the block index
-
pieceIndex
public int pieceIndex()- Returns:
- the piece index
-