OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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
 
SessionGetSession (const SessionKey &key) const
 
ConnectionGetConnection ()
 

Private Member Functions

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

Private Attributes

ClientId id_
 
Connectioncm_
 

Detailed Description

Definition at line 15 of file bfd_client.h.

Constructor & Destructor Documentation

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

Definition at line 23 of file bfd_client.cc.

Client::~Client ( )
virtual

Definition at line 26 of file bfd_client.cc.

Member Function Documentation

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

Definition at line 43 of file bfd_client.cc.

Here is the call graph for this function:

void Client::DeleteClientSessions ( )

Definition at line 30 of file bfd_client.cc.

Here is the call graph for this function:

void Client::DeleteSession ( const SessionKey key)

Definition at line 48 of file bfd_client.cc.

Here is the call graph for this function:

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

Definition at line 24 of file bfd_client.h.

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

Definition at line 34 of file bfd_client.cc.

Here is the call graph for this function:

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

Definition at line 52 of file bfd_client.cc.

Here is the call graph for this function:

bool Client::Up ( const SessionKey key) const

Definition at line 38 of file bfd_client.cc.

Here is the call graph for this function:

Member Data Documentation

Connection* BFD::Client::cm_
private

Definition at line 30 of file bfd_client.h.

ClientId BFD::Client::id_
private

Definition at line 29 of file bfd_client.h.


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