NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.3: NDN, CCN, CCNx, content centric networks
API Documentation
base.hpp File Reference
Include dependency graph for base.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  websocketpp::transport::iostream::error::category
 iostream transport error category More...
 
struct  is_error_code_enum< websocketpp::transport::iostream::error::value >
 

Namespaces

 websocketpp
 Namespace for the WebSocket++ project.
 
 websocketpp::transport
 Transport policies provide network connectivity and timers.
 
 websocketpp::transport::iostream
 Transport policy that uses STL iostream for I/O and does not support timers.
 
 websocketpp::transport::iostream::error
 iostream transport errors
 

Typedefs

typedef lib::function< lib::error_code(connection_hdl, char const *, size_t)> websocketpp::transport::iostream::write_handler
 The type and signature of the callback used by iostream transport to write. More...
 
typedef lib::function< lib::error_code(connection_hdl, std::vector< transport::buffer > const &bufs)> websocketpp::transport::iostream::vector_write_handler
 The type and signature of the callback used by iostream transport to perform vectored writes. More...
 
typedef lib::function< lib::error_code(connection_hdl)> websocketpp::transport::iostream::shutdown_handler
 The type and signature of the callback used by iostream transport to signal a transport shutdown. More...
 

Enumerations

enum  websocketpp::transport::iostream::error::value {
  websocketpp::transport::iostream::error::general = 1, websocketpp::transport::iostream::error::invalid_num_bytes, websocketpp::transport::iostream::error::double_read, websocketpp::transport::iostream::error::output_stream_required,
  websocketpp::transport::iostream::error::bad_stream
}
 

Functions

lib::error_category const & websocketpp::transport::iostream::error::get_category ()
 Get a reference to a static copy of the iostream transport error category. More...
 
lib::error_code websocketpp::transport::iostream::error::make_error_code (error::value e)
 Get an error code with the given value and the iostream transport category. More...