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

Public Member Functions

 print_server ()
 
void on_open (connection_hdl hdl)
 
void on_close (connection_hdl hdl)
 
void on_message (connection_hdl hdl, server::message_ptr msg)
 
connection_dataget_data_from_hdl (connection_hdl hdl)
 
void run (uint16_t port)
 
 print_server ()
 
void on_open (connection_hdl hdl)
 
void on_close (connection_hdl hdl)
 
void on_message (connection_hdl hdl, server::message_ptr msg)
 
void run (uint16_t port)
 

Detailed Description

Definition at line 19 of file associative_storage.cpp.

Constructor & Destructor Documentation

print_server::print_server ( )
inline

Definition at line 21 of file associative_storage.cpp.

References on_close(), on_message(), and on_open().

print_server::print_server ( )
inline

Definition at line 40 of file enriched_storage.cpp.

References on_close(), on_message(), and on_open().

Member Function Documentation

void print_server::on_open ( connection_hdl  hdl)
inline

Definition at line 29 of file associative_storage.cpp.

References connection_data::name, and connection_data::sessionid.

Referenced by print_server().

void print_server::on_close ( connection_hdl  hdl)
inline

Definition at line 38 of file associative_storage.cpp.

References connection_data::name, and connection_data::sessionid.

Referenced by print_server().

void print_server::on_message ( connection_hdl  hdl,
server::message_ptr  msg 
)
inline

Definition at line 47 of file associative_storage.cpp.

References connection_data::name, and connection_data::sessionid.

Referenced by print_server().

connection_data& print_server::get_data_from_hdl ( connection_hdl  hdl)
inline

Definition at line 60 of file associative_storage.cpp.

void print_server::run ( uint16_t  port)
inline

Definition at line 72 of file associative_storage.cpp.

Referenced by main().

void print_server::on_open ( connection_hdl  hdl)
inline

Definition at line 48 of file enriched_storage.cpp.

void print_server::on_close ( connection_hdl  hdl)
inline

Definition at line 54 of file enriched_storage.cpp.

void print_server::on_message ( connection_hdl  hdl,
server::message_ptr  msg 
)
inline

Definition at line 61 of file enriched_storage.cpp.

void print_server::run ( uint16_t  port)
inline

Definition at line 74 of file enriched_storage.cpp.


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