#include <PeerList.hpp>
Add a new peer address.
- Parameters
-
- Returns
- TRUE if successfully added. FALSE if it already exists
Gets the beginning of the sequence container.
- Returns
- An iterator to the beginning of the sequence container
Gets the end of the sequence container.
- Returns
- An iterator to the end of the sequence container
Look for a peer address.
- Parameters
-
addr | Peer address |
found | [out] Set to true when address is found |
- Returns
- PeerVector internal
bool PeerList::IsReady |
( |
| ) |
|
|
inline |
Gets ready flag.
- Returns
- TRUE if ready. FALSE otherwise
Remove a peer address from the internal list.
- Parameters
-
- Returns
- FALSE if the address is not found. TRUE if successfully removed.
Sets init handler.
- Parameters
-
init | Peer init handler |
init_arg | [in] Init arguments |
- Returns
- void
void PeerList::setReady |
( |
bool |
ready | ) |
|
|
inline |
Sets ready flag.
- Parameters
-
ready | Flag value to be set |
- Returns
- void
Sets peer remove callback on the PeerList object.
- Parameters
-
- Returns
- void
The documentation for this class was generated from the following file: