OpenSDN source code
|
#include <bgp_update_sender.h>
Public Member Functions | |
BgpUpdateSender (BgpServer *server) | |
~BgpUpdateSender () | |
void | Join (RibOut *ribout, IPeerUpdate *peer) |
void | Leave (RibOut *ribout, IPeerUpdate *peer) |
void | RibOutActive (int index, RibOut *ribout, int queue_id) |
void | PeerSendReady (IPeerUpdate *peer) |
bool | PeerIsRegistered (IPeerUpdate *peer) const |
bool | PeerInSync (IPeerUpdate *peer) const |
int | task_id () const |
bool | CheckInvariants () const |
void | DisableProcessing () |
void | EnableProcessing () |
Private Member Functions | |
bool | SendReadyCallback (IPeerUpdate *peer) |
BgpSenderPartition * | partition (int index) |
DISALLOW_COPY_AND_ASSIGN (BgpUpdateSender) | |
Private Attributes | |
BgpServer * | server_ |
int | task_id_ |
std::vector< BgpSenderPartition * > | partitions_ |
WorkQueue< IPeerUpdate * > | send_ready_queue_ |
Friends | |
class | BgpTestPeer |
class | BgpUpdateSenderTest |
class | RibOutUpdatesTest |
Definition at line 159 of file bgp_update_sender.h.
|
explicit |
BgpUpdateSender::~BgpUpdateSender | ( | ) |
bool BgpUpdateSender::CheckInvariants | ( | ) | const |
void BgpUpdateSender::DisableProcessing | ( | ) |
|
private |
void BgpUpdateSender::EnableProcessing | ( | ) |
void BgpUpdateSender::Join | ( | RibOut * | ribout, |
IPeerUpdate * | peer | ||
) |
void BgpUpdateSender::Leave | ( | RibOut * | ribout, |
IPeerUpdate * | peer | ||
) |
|
inlineprivate |
Definition at line 185 of file bgp_update_sender.h.
bool BgpUpdateSender::PeerInSync | ( | IPeerUpdate * | peer | ) | const |
bool BgpUpdateSender::PeerIsRegistered | ( | IPeerUpdate * | peer | ) | const |
void BgpUpdateSender::PeerSendReady | ( | IPeerUpdate * | peer | ) |
void BgpUpdateSender::RibOutActive | ( | int | index, |
RibOut * | ribout, | ||
int | queue_id | ||
) |
Definition at line 1002 of file bgp_update_sender.cc.
|
private |
|
inline |
Definition at line 172 of file bgp_update_sender.h.
|
friend |
Definition at line 180 of file bgp_update_sender.h.
|
friend |
Definition at line 181 of file bgp_update_sender.h.
|
friend |
Definition at line 182 of file bgp_update_sender.h.
|
private |
Definition at line 189 of file bgp_update_sender.h.
|
private |
Definition at line 190 of file bgp_update_sender.h.
|
private |
Definition at line 187 of file bgp_update_sender.h.
|
private |
Definition at line 188 of file bgp_update_sender.h.