PeerAlert
Base class for alerts referring to a specific peer, ported from libtorrent::peer_alert (include/libtorrent/alert_types.hpp).
libtorrent renders `torrent_alert::message() + " peer [ " + print_endpoint(endpoint)
" client: " + identify_client(pid) + " ]"`. KiteTorrent v0 has no peer-id client-identification yet, so client defaults to a placeholder; the endpoint is carried verbatim as a printable endpoint string.
Inheritors
Properties
Link copied to clipboard
The bitmask of AlertCategory flags this alert belongs to. Mirrors alert::category(), which returns the concrete alert's static_category.
Link copied to clipboard
the torrent's name, or null when the handle would be invalid (rendered as " - ", matching libtorrent).