OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
BgpUpdateSender Class Reference

#include <bgp_update_sender.h>

Collaboration diagram for BgpUpdateSender:

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)
 
BgpSenderPartitionpartition (int index)
 
 DISALLOW_COPY_AND_ASSIGN (BgpUpdateSender)
 

Private Attributes

BgpServerserver_
 
int task_id_
 
std::vector< BgpSenderPartition * > partitions_
 
WorkQueue< IPeerUpdate * > send_ready_queue_
 

Friends

class BgpTestPeer
 
class BgpUpdateSenderTest
 
class RibOutUpdatesTest
 

Detailed Description

Definition at line 159 of file bgp_update_sender.h.

Constructor & Destructor Documentation

BgpUpdateSender::BgpUpdateSender ( BgpServer server)
explicit

Definition at line 956 of file bgp_update_sender.cc.

Here is the call graph for this function:

BgpUpdateSender::~BgpUpdateSender ( )

Definition at line 971 of file bgp_update_sender.cc.

Here is the call graph for this function:

Member Function Documentation

bool BgpUpdateSender::CheckInvariants ( ) const

Definition at line 1058 of file bgp_update_sender.cc.

Here is the call graph for this function:

void BgpUpdateSender::DisableProcessing ( )

Definition at line 1069 of file bgp_update_sender.cc.

Here is the call graph for this function:

BgpUpdateSender::DISALLOW_COPY_AND_ASSIGN ( BgpUpdateSender  )
private
void BgpUpdateSender::EnableProcessing ( )

Definition at line 1078 of file bgp_update_sender.cc.

Here is the call graph for this function:

void BgpUpdateSender::Join ( RibOut ribout,
IPeerUpdate peer 
)

Definition at line 979 of file bgp_update_sender.cc.

Here is the call graph for this function:

void BgpUpdateSender::Leave ( RibOut ribout,
IPeerUpdate peer 
)

Definition at line 990 of file bgp_update_sender.cc.

Here is the call graph for this function:

BgpSenderPartition* BgpUpdateSender::partition ( int  index)
inlineprivate

Definition at line 185 of file bgp_update_sender.h.

bool BgpUpdateSender::PeerInSync ( IPeerUpdate peer) const

Definition at line 1032 of file bgp_update_sender.cc.

Here is the call graph for this function:

bool BgpUpdateSender::PeerIsRegistered ( IPeerUpdate peer) const

Definition at line 1021 of file bgp_update_sender.cc.

Here is the call graph for this function:

void BgpUpdateSender::PeerSendReady ( IPeerUpdate peer)

Definition at line 1014 of file bgp_update_sender.cc.

Here is the call graph for this function:

void BgpUpdateSender::RibOutActive ( int  index,
RibOut ribout,
int  queue_id 
)

Definition at line 1002 of file bgp_update_sender.cc.

bool BgpUpdateSender::SendReadyCallback ( IPeerUpdate peer)
private

Definition at line 1046 of file bgp_update_sender.cc.

Here is the call graph for this function:

int BgpUpdateSender::task_id ( ) const
inline

Definition at line 172 of file bgp_update_sender.h.

Friends And Related Function Documentation

friend class BgpTestPeer
friend

Definition at line 180 of file bgp_update_sender.h.

friend class BgpUpdateSenderTest
friend

Definition at line 181 of file bgp_update_sender.h.

friend class RibOutUpdatesTest
friend

Definition at line 182 of file bgp_update_sender.h.

Member Data Documentation

std::vector<BgpSenderPartition *> BgpUpdateSender::partitions_
private

Definition at line 189 of file bgp_update_sender.h.

WorkQueue<IPeerUpdate *> BgpUpdateSender::send_ready_queue_
private

Definition at line 190 of file bgp_update_sender.h.

BgpServer* BgpUpdateSender::server_
private

Definition at line 187 of file bgp_update_sender.h.

int BgpUpdateSender::task_id_
private

Definition at line 188 of file bgp_update_sender.h.


The documentation for this class was generated from the following files: