NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
API Documentation
utility_server Class Reference

Public Member Functions

 utility_server ()
 
void run ()
 
 utility_server ()
 
void echo_handler (websocketpp::connection_hdl hdl, server::message_ptr msg)
 
void run ()
 

Detailed Description

Definition at line 42 of file step1.cpp.

Constructor & Destructor Documentation

◆ utility_server() [1/2]

◆ utility_server() [2/2]

Member Function Documentation

◆ run() [1/2]

void utility_server::run ( )
inline

Definition at line 53 of file step1.cpp.

References websocketpp::server< config >::start_accept().

Referenced by main().

◆ echo_handler()

void utility_server::echo_handler ( websocketpp::connection_hdl  hdl,
server::message_ptr  msg 
)
inline

Definition at line 59 of file step2.cpp.

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

Referenced by utility_server().

◆ run() [2/2]

void utility_server::run ( )
inline

Definition at line 64 of file step2.cpp.

References websocketpp::server< config >::start_accept().


The documentation for this class was generated from the following files: