ve</strong> (piece_index_t);
virtual bool <strong>on_choke</strong> ();
virtual bool <strong>on_have</strong> (piece_index_t);
virtual bool <strong>on_bitfield</strong> (bitfield const&amp; <em>/*bitfield*/</em>);
virtual bool <strong>on_have_none</strong> ();
virtual bool <strong>on_request</strong> (peer_request const&amp;);
virtual bool <strong>on_interested</strong> ();
virtual bool <strong>on_have_all</strong> ();
virtual bool <strong>on_allowed_fast</strong> (piece_index_t);
virtual bool <strong>on_no