NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.3: NDN, CCN, CCNx, content centric networks
API Documentation
debug_server.cpp File Reference
Include dependency graph for debug_server.cpp:

Go to the source code of this file.

Classes

struct  debug_custom
 ====== WARNING ======== This example is presently used as a scratch space. More...
 
struct  debug_custom::transport_config
 

Typedefs

typedef websocketpp::server< debug_customserver
 
typedef server::message_ptr message_ptr
 

Functions

bool validate (server *, websocketpp::connection_hdl)
 
void on_http (server *s, websocketpp::connection_hdl hdl)
 
void on_fail (server *s, websocketpp::connection_hdl hdl)
 
void on_close (websocketpp::connection_hdl)
 
void on_message (server *s, websocketpp::connection_hdl hdl, message_ptr msg)
 
int main ()
 

Typedef Documentation

Definition at line 87 of file debug_server.cpp.

Definition at line 94 of file debug_server.cpp.

Function Documentation

void on_fail ( server s,
websocketpp::connection_hdl  hdl 
)

Definition at line 113 of file debug_server.cpp.

References websocketpp::endpoint< connection, config >::get_con_from_hdl().

Referenced by main().

void on_close ( websocketpp::connection_hdl  )

Definition at line 119 of file debug_server.cpp.

Referenced by main().

void on_message ( server s,
websocketpp::connection_hdl  hdl,
message_ptr  msg 
)

Definition at line 124 of file debug_server.cpp.

References websocketpp::endpoint< connection, config >::send().

Referenced by main().