OpenSDN source code
|
#include <bfd_client_session.h>
Public Member Functions | |
RESTClientSession (Server *server, ClientId client_id) | |
~RESTClientSession () | |
Session * | GetSession (const boost::asio::ip::address &ip, const SessionIndex &index=SessionIndex()) const |
Session * | GetSession (const SessionKey &key) const |
void | Notify () |
void | AddMonitoringHttpSession (HttpSession *session) |
ResultCode | AddBFDConnection (const SessionKey &key, const SessionConfig &config) |
ResultCode | DeleteBFDConnection (const SessionKey &key) |
Private Types | |
typedef std::set< SessionKey > | Sessions |
typedef std::set < boost::intrusive_ptr < HttpSession > > | HttpSessionSet |
Private Member Functions | |
void | OnHttpSessionEvent (HttpSession *session, enum TcpSession::Event event) |
Private Attributes | |
ClientId | client_id_ |
Server * | server_ |
Sessions | bfd_sessions_ |
HttpSessionSet | http_sessions_ |
bool | changed_ |
Definition at line 24 of file bfd_client_session.h.
|
private |
Definition at line 41 of file bfd_client_session.h.
|
private |
Definition at line 40 of file bfd_client_session.h.
Definition at line 15 of file bfd_client_session.cc.
BFD::RESTClientSession::~RESTClientSession | ( | ) |
ResultCode BFD::RESTClientSession::AddBFDConnection | ( | const SessionKey & | key, |
const SessionConfig & | config | ||
) |
void BFD::RESTClientSession::AddMonitoringHttpSession | ( | HttpSession * | session | ) |
ResultCode BFD::RESTClientSession::DeleteBFDConnection | ( | const SessionKey & | key | ) |
Session * BFD::RESTClientSession::GetSession | ( | const boost::asio::ip::address & | ip, |
const SessionIndex & | index = SessionIndex() |
||
) | const |
Definition at line 19 of file bfd_client_session.cc.
Session * BFD::RESTClientSession::GetSession | ( | const SessionKey & | key | ) | const |
void BFD::RESTClientSession::Notify | ( | ) |
|
private |
Definition at line 61 of file bfd_client_session.cc.
|
private |
Definition at line 47 of file bfd_client_session.h.
|
private |
Definition at line 49 of file bfd_client_session.h.
|
private |
Definition at line 45 of file bfd_client_session.h.
|
private |
Definition at line 48 of file bfd_client_session.h.
|
private |
Definition at line 46 of file bfd_client_session.h.