Searched defs:peer_plugin (Results 1 – 2 of 2) sorted by relevance
366 struct TORRENT_EXPORT peer_plugin struct369 virtual ~peer_plugin() {} in ~peer_plugin()377 virtual void add_handshake(entry&) {} in add_handshake()386 virtual void on_connected() {} in on_connected()409 virtual bool on_choke() { return false; } in on_choke()410 virtual bool on_unchoke() { return false; } in on_unchoke()416 virtual bool on_have_all() { return false; } in on_have_all()417 virtual bool on_have_none() { return false; } in on_have_none()435 virtual void sent_unchoke() {} in sent_unchoke()466 virtual void on_piece_pass(piece_index_t) {} in on_piece_pass()[all …]