NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: 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

◆ server

Definition at line 87 of file debug_server.cpp.

◆ message_ptr

Definition at line 94 of file debug_server.cpp.

Function Documentation

◆ validate()

◆ on_http()

◆ on_fail()

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().

◆ on_close()

void on_close ( websocketpp::connection_hdl  )

Definition at line 119 of file debug_server.cpp.

Referenced by main().

◆ on_message()

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

◆ main()