OpenSDN source code
|
#include <bfd_client.h>
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_ |
Definition at line 15 of file bfd_client.h.
Client::Client | ( | Connection * | cm, |
ClientId | client_id = 0 |
||
) |
Definition at line 23 of file bfd_client.cc.
|
virtual |
Definition at line 26 of file bfd_client.cc.
void Client::AddSession | ( | const SessionKey & | key, |
const SessionConfig & | config | ||
) |
void Client::DeleteClientSessions | ( | ) |
void Client::DeleteSession | ( | const SessionKey & | key | ) |
|
inline |
Definition at line 24 of file bfd_client.h.
Session * Client::GetSession | ( | const SessionKey & | key | ) | const |
|
private |
bool Client::Up | ( | const SessionKey & | key | ) | const |
|
private |
Definition at line 30 of file bfd_client.h.
|
private |
Definition at line 29 of file bfd_client.h.