OpenSDN source code
BFD::Client Class Reference

#include <bfd_client.h>

Collaboration diagram for BFD::Client:

Public Member Functions

 Client (Connection *cm, ClientId client_id=0)
 
virtual ~Client ()
 
void AddSession (const SessionKey &key, const SessionConfig &config)
 
void DeleteSession (const SessionKey &key)
 
void DeleteClientSessions ()
 
bool Up (const SessionKey &key) const
 
Session * GetSession (const SessionKey &key) const
 
Connection * GetConnection ()
 

Private Member Functions

void Notify (const SessionKey &key, const BFD::BFDState &new_state)
 

Private Attributes

ClientId id_
 
Connection * cm_
 

Detailed Description

Definition at line 16 of file bfd_client.h.

Constructor & Destructor Documentation

◆ Client()

Client::Client ( Connection *  cm,
ClientId  client_id = 0 
)

Definition at line 25 of file bfd_client.cc.

◆ ~Client()

Client::~Client ( )
virtual

Definition at line 28 of file bfd_client.cc.

Member Function Documentation

◆ AddSession()

void Client::AddSession ( const SessionKey &  key,
const SessionConfig &  config 
)

Definition at line 45 of file bfd_client.cc.

Here is the call graph for this function:

◆ DeleteClientSessions()

void Client::DeleteClientSessions ( )

Definition at line 32 of file bfd_client.cc.

Here is the call graph for this function:

◆ DeleteSession()

void Client::DeleteSession ( const SessionKey &  key)

Definition at line 50 of file bfd_client.cc.

Here is the call graph for this function:

◆ GetConnection()

Connection* BFD::Client::GetConnection ( )
inline

Definition at line 25 of file bfd_client.h.

◆ GetSession()

Session * Client::GetSession ( const SessionKey &  key) const

Definition at line 36 of file bfd_client.cc.

Here is the call graph for this function:

◆ Notify()

void Client::Notify ( const SessionKey &  key,
const BFD::BFDState &  new_state 
)
private

Definition at line 54 of file bfd_client.cc.

Here is the call graph for this function:

◆ Up()

bool Client::Up ( const SessionKey &  key) const

Definition at line 40 of file bfd_client.cc.

Here is the call graph for this function:

Member Data Documentation

◆ cm_

Connection* BFD::Client::cm_
private

Definition at line 31 of file bfd_client.h.

◆ id_

ClientId BFD::Client::id_
private

Definition at line 30 of file bfd_client.h.


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