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

Go to the source code of this file.

Classes

struct  testee_config
 
struct  testee_config::transport_config
 
struct  testee_config::permessage_deflate_config
 permessage_compress extension More...
 

Typedefs

typedef websocketpp::server< testee_configserver
 
typedef server::message_ptr message_ptr
 

Functions

void on_message (server *s, websocketpp::connection_hdl hdl, message_ptr msg)
 
void on_socket_init (websocketpp::connection_hdl, boost::asio::ip::tcp::socket &s)
 
int main (int argc, char *argv[])
 

Typedef Documentation

◆ server

Definition at line 76 of file testee_server.cpp.

◆ message_ptr

Definition at line 83 of file testee_server.cpp.

Function Documentation

◆ on_message()

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

Definition at line 86 of file testee_server.cpp.

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

Referenced by main().

◆ on_socket_init()

void on_socket_init ( websocketpp::connection_hdl  ,
boost::asio::ip::tcp::socket &  s 
)

Definition at line 90 of file testee_server.cpp.

Referenced by main().

◆ main()