NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
API Documentation
handler_switch.cpp File Reference
#include <iostream>
#include <websocketpp/config/asio_no_tls.hpp>
#include <websocketpp/server.hpp>
Include dependency graph for handler_switch.cpp:

Go to the source code of this file.

Typedefs

typedef websocketpp::server< websocketpp::config::asioserver
 

Functions

void custom_on_msg (server &s, connection_hdl hdl, server::message_ptr msg)
 
void default_on_msg (server &s, connection_hdl hdl, server::message_ptr msg)
 
int main ()
 

Typedef Documentation

◆ server

Function Documentation

◆ custom_on_msg()

void custom_on_msg ( server s,
connection_hdl  hdl,
server::message_ptr  msg 
)

Definition at line 14 of file handler_switch.cpp.

Referenced by default_on_msg().

◆ default_on_msg()

void default_on_msg ( server s,
connection_hdl  hdl,
server::message_ptr  msg 
)

◆ main()