#include <MyHandler.h>
Public Member Functions | |
PEER (const std::string &id, const std::string &address, port_t p) | |
void | update (const std::string &u, const std::string &d, const std::string &l) |
void | stop () |
void | complete () |
Public Attributes | |
std::string | escaped_peer_id |
unsigned char | peer_id [20] |
std::string | ip |
port_t | port |
uint64_t | uploaded |
uint64_t | downloaded |
uint64_t | left |
bool | updated |
bool | completed |
bool | stopped |
time_t | last_contact |
Definition at line 41 of file MyHandler.h.
MyHandler::PEER::PEER | ( | const std::string & | id, | |
const std::string & | address, | |||
port_t | p | |||
) | [inline] |
void MyHandler::PEER::update | ( | const std::string & | u, | |
const std::string & | d, | |||
const std::string & | l | |||
) | [inline] |
void MyHandler::PEER::stop | ( | ) | [inline] |
void MyHandler::PEER::complete | ( | ) | [inline] |
std::string MyHandler::PEER::escaped_peer_id |
Definition at line 71 of file MyHandler.h.
unsigned char MyHandler::PEER::peer_id[20] |
std::string MyHandler::PEER::ip |
Definition at line 73 of file MyHandler.h.
port_t MyHandler::PEER::port |
Definition at line 74 of file MyHandler.h.
uint64_t MyHandler::PEER::uploaded |
uint64_t MyHandler::PEER::downloaded |
uint64_t MyHandler::PEER::left |
Definition at line 81 of file MyHandler.h.