OpenSDN source code
|
#include <sandesh_http.h>
Classes | |
class | HtmlInfo |
Public Types | |
typedef boost::function < int32_t(SandeshRequest *)> | RequestCallbackFn |
Public Member Functions | |
SandeshHttp (std::string const &s, HtmlInfo h_info) | |
Static Public Member Functions | |
static void | Response (Sandesh *snh, std::string context) |
static bool | Init (EventManager *evm, const std::string module, short port, RequestCallbackFn reqcb, int *hport, const SandeshConfig &config=SandeshConfig()) |
static void | Uninit (void) |
static void | UpdateDscp (uint8_t dscp) |
static HtmlInfo | GetHtmlInfo (std::string const &s) |
Private Types | |
typedef std::map< std::string, HtmlInfo > | map_type |
Static Private Member Functions | |
static map_type * | GetMap () |
Static Private Attributes | |
static map_type * | map_ = NULL |
static HttpServer * | hServ_ = NULL |
static std::string | index_str_ |
static HtmlInfo * | index_hti_ = NULL |
Definition at line 25 of file sandesh_http.h.
|
private |
Definition at line 61 of file sandesh_http.h.
typedef boost::function<int32_t(SandeshRequest *)> SandeshHttp::RequestCallbackFn |
Definition at line 27 of file sandesh_http.h.
|
inline |
|
inlinestatic |
|
inlinestaticprivate |
Definition at line 63 of file sandesh_http.h.
|
static |
|
static |
|
static |
|
static |
Definition at line 461 of file sandesh_http.cc.
|
staticprivate |
Definition at line 71 of file sandesh_http.h.
|
staticprivate |
Definition at line 73 of file sandesh_http.h.
|
staticprivate |
Definition at line 72 of file sandesh_http.h.
|
staticprivate |
Definition at line 70 of file sandesh_http.h.