libtorrent::peer_plugin Struct Reference

#include <extensions.hpp>

List of all members.

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)


Detailed Description

Definition at line 82 of file extensions.hpp.


Constructor & Destructor Documentation

virtual libtorrent::peer_plugin::~peer_plugin (  )  [inline, virtual]

Definition at line 84 of file extensions.hpp.


Member Function Documentation

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.

virtual bool libtorrent::peer_plugin::on_extension_handshake ( entry const &  h  )  [inline, virtual]

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.


The documentation for this struct was generated from the following file:

Generated on Sun May 25 00:21:41 2008 by  doxygen 1.5.6