#include <extensions.hpp>
Public Member Functions | |
| virtual | ~peer_plugin () |
| virtual void | add_handshake (entry &) |
| virtual bool | on_handshake () |
| virtual bool | on_extension_handshake (entry const &h) |
| virtual bool | on_choke () |
| virtual bool | on_unchoke () |
| virtual bool | on_interested () |
| virtual bool | on_not_interested () |
| virtual bool | on_have (int index) |
| virtual bool | on_bitfield (std::vector< bool > const &bitfield) |
| virtual bool | on_request (peer_request const &req) |
| virtual bool | on_piece (peer_request const &piece, char const *data) |
| virtual bool | on_cancel (peer_request const &req) |
| virtual bool | on_extended (int length, int msg, buffer::const_interval body) |
| virtual bool | on_unknown_message (int length, int msg, buffer::const_interval body) |
| virtual void | on_piece_pass (int index) |
| virtual void | on_piece_failed (int index) |
| virtual void | tick () |
| virtual bool | write_request (peer_request const &r) |
Definition at line 82 of file extensions.hpp.
| virtual libtorrent::peer_plugin::~peer_plugin | ( | ) | [inline, virtual] |
Definition at line 84 of file extensions.hpp.
| virtual void libtorrent::peer_plugin::add_handshake | ( | entry & | ) | [inline, virtual] |
Definition at line 87 of file extensions.hpp.
| virtual bool libtorrent::peer_plugin::on_handshake | ( | ) | [inline, virtual] |
Definition at line 95 of file extensions.hpp.
Definition at line 101 of file extensions.hpp.
| virtual bool libtorrent::peer_plugin::on_choke | ( | ) | [inline, virtual] |
Definition at line 109 of file extensions.hpp.
| virtual bool libtorrent::peer_plugin::on_unchoke | ( | ) | [inline, virtual] |
Definition at line 112 of file extensions.hpp.
| virtual bool libtorrent::peer_plugin::on_interested | ( | ) | [inline, virtual] |
Definition at line 115 of file extensions.hpp.
| virtual bool libtorrent::peer_plugin::on_not_interested | ( | ) | [inline, virtual] |
Definition at line 118 of file extensions.hpp.
| virtual bool libtorrent::peer_plugin::on_have | ( | int | index | ) | [inline, virtual] |
Definition at line 121 of file extensions.hpp.
| virtual bool libtorrent::peer_plugin::on_bitfield | ( | std::vector< bool > const & | bitfield | ) | [inline, virtual] |
Definition at line 124 of file extensions.hpp.
| virtual bool libtorrent::peer_plugin::on_request | ( | peer_request const & | req | ) | [inline, virtual] |
Definition at line 127 of file extensions.hpp.
| virtual bool libtorrent::peer_plugin::on_piece | ( | peer_request const & | piece, | |
| char const * | data | |||
| ) | [inline, virtual] |
Definition at line 130 of file extensions.hpp.
| virtual bool libtorrent::peer_plugin::on_cancel | ( | peer_request const & | req | ) | [inline, virtual] |
Definition at line 133 of file extensions.hpp.
| virtual bool libtorrent::peer_plugin::on_extended | ( | int | length, | |
| int | msg, | |||
| buffer::const_interval | body | |||
| ) | [inline, virtual] |
Definition at line 140 of file extensions.hpp.
| virtual bool libtorrent::peer_plugin::on_unknown_message | ( | int | length, | |
| int | msg, | |||
| buffer::const_interval | body | |||
| ) | [inline, virtual] |
Definition at line 144 of file extensions.hpp.
| virtual void libtorrent::peer_plugin::on_piece_pass | ( | int | index | ) | [inline, virtual] |
Definition at line 150 of file extensions.hpp.
| virtual void libtorrent::peer_plugin::on_piece_failed | ( | int | index | ) | [inline, virtual] |
Definition at line 151 of file extensions.hpp.
| virtual void libtorrent::peer_plugin::tick | ( | ) | [inline, virtual] |
Definition at line 154 of file extensions.hpp.
| virtual bool libtorrent::peer_plugin::write_request | ( | peer_request const & | r | ) | [inline, virtual] |
Definition at line 159 of file extensions.hpp.
1.5.6