|
MASA-Core
|
Definition at line 33 of file PeerList.hpp.
#include <PeerList.hpp>
Public Member Functions | |
| PeerList () | |
| virtual | ~PeerList () |
| void | add (Peer *peer) |
| void | copy (vector< Peer * > peers) |
| void | erase (const string &id) |
| Peer * | get (const string &id) const |
| Peer * | getPrev (const string &id) const |
| Peer * | getNext (const string &id) const |
| vector< Peer * > | getAllPeers () const |
| vector< Peer * > | getProcessingPeers () const |
Private Attributes | |
| map< string, Peer * > | peerMap |
Definition at line 24 of file PeerList.cpp.
| PeerList::~PeerList | ( | ) | [virtual] |
Definition at line 29 of file PeerList.cpp.
| void PeerList::add | ( | Peer * | peer | ) |
Definition at line 33 of file PeerList.cpp.
| void PeerList::copy | ( | vector< Peer * > | peers | ) |
Definition at line 50 of file PeerList.cpp.
| void PeerList::erase | ( | const string & | id | ) |
Definition at line 46 of file PeerList.cpp.
| Peer * PeerList::get | ( | const string & | id | ) | const |
Definition at line 37 of file PeerList.cpp.
| vector< Peer * > PeerList::getAllPeers | ( | ) | const |
Definition at line 85 of file PeerList.cpp.
| Peer * PeerList::getNext | ( | const string & | id | ) | const |
Definition at line 71 of file PeerList.cpp.
| Peer * PeerList::getPrev | ( | const string & | id | ) | const |
Definition at line 57 of file PeerList.cpp.
| vector< Peer * > PeerList::getProcessingPeers | ( | ) | const |
Definition at line 93 of file PeerList.cpp.
map<string, Peer*> PeerList::peerMap [private] |
Definition at line 48 of file PeerList.hpp.
1.7.6.1