|
OpenSDN source code
|
#include <bfd_rest_server.h>

Classes | |
| class | HandlerSpecifier |
| struct | RESTData |
Public Member Functions | |
| RESTServer (Server *bfd_server) | |
| ~RESTServer () | |
| void | HandleRequest (HttpSession *session, const HttpRequest *request) |
Protected Types | |
| typedef std::map< ClientId, RESTClientSession * > | ClientMap |
Protected Member Functions | |
| ClientId | UniqClientId () |
| RESTClientSession * | GetClientSession (ClientId client_id, HttpSession *session) |
| void | CreateRESTClientSession (HttpSession *session, const HttpRequest *request) |
| void | DeleteRESTClientSession (ClientId client_id, HttpSession *session, const HttpRequest *request) |
| void | CreateBFDConnection (ClientId client_id, HttpSession *session, const HttpRequest *request) |
| void | GetBFDConnection (ClientId client_id, const boost::asio::ip::address &ip, HttpSession *session, const HttpRequest *request) |
| void | DeleteBFDConnection (ClientId client_id, const boost::asio::ip::address &ip, HttpSession *session, const HttpRequest *request) |
| void | MonitorRESTClientSession (ClientId client_id, HttpSession *session, const HttpRequest *request) |
| void | SessionHandler (const struct RESTData &) |
| void | ClientHandler (const struct RESTData &) |
| void | ClientIPConnectionHandler (const struct RESTData &) |
| void | ClientIPAddressHandlerGet (const struct RESTData &) |
| void | ClientIPAddressHandlerDelete (const struct RESTData &) |
| void | ClientMonitorHandler (const struct RESTData &) |
Protected Attributes | |
| ClientMap | client_sessions_ |
| Server * | bfd_server_ |
| tbb::mutex | mutex_ |
Static Protected Attributes | |
| static const std::vector< HandlerSpecifier > | RESTHandlers_ |
Definition at line 20 of file bfd_rest_server.h.
|
protected |
Definition at line 28 of file bfd_rest_server.h.
|
explicit |
Definition at line 103 of file bfd_rest_server.cc.
| BFD::RESTServer::~RESTServer | ( | ) |
Definition at line 276 of file bfd_rest_server.cc.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
| void BFD::RESTServer::HandleRequest | ( | HttpSession * | session, |
| const HttpRequest * | request | ||
| ) |
|
protected |
|
protected |
|
protected |
Definition at line 267 of file bfd_rest_server.cc.
|
protected |
Definition at line 83 of file bfd_rest_server.h.
|
protected |
Definition at line 82 of file bfd_rest_server.h.
|
protected |
Definition at line 84 of file bfd_rest_server.h.
|
staticprotected |
Definition at line 73 of file bfd_rest_server.h.