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

Go to the source code of this file.

Classes

class  websocketpp::connection< config >
 Represents an individual WebSocket connection. More...
 

Namespaces

 websocketpp
 Namespace for the WebSocket++ project.
 
 websocketpp::session
 
 websocketpp::session::state
 
 websocketpp::session::fail
 
 websocketpp::session::fail::status
 
 websocketpp::session::internal_state
 
 websocketpp::session::http_state
 

Typedefs

typedef lib::function< void(connection_hdl)> websocketpp::open_handler
 The type and function signature of an open handler. More...
 
typedef lib::function< void(connection_hdl)> websocketpp::close_handler
 The type and function signature of a close handler. More...
 
typedef lib::function< void(connection_hdl)> websocketpp::fail_handler
 The type and function signature of a fail handler. More...
 
typedef lib::function< void(connection_hdl)> websocketpp::interrupt_handler
 The type and function signature of an interrupt handler. More...
 
typedef lib::function< bool(connection_hdl, std::string)> websocketpp::ping_handler
 The type and function signature of a ping handler. More...
 
typedef lib::function< void(connection_hdl, std::string)> websocketpp::pong_handler
 The type and function signature of a pong handler. More...
 
typedef lib::function< void(connection_hdl, std::string)> websocketpp::pong_timeout_handler
 The type and function signature of a pong timeout handler. More...
 
typedef lib::function< bool(connection_hdl)> websocketpp::validate_handler
 The type and function signature of a validate handler. More...
 
typedef lib::function< void(connection_hdl)> websocketpp::http_handler
 The type and function signature of a http handler. More...
 
typedef lib::function< void(lib::error_code const &ec, size_t bytes_transferred)> websocketpp::read_handler
 
typedef lib::function< void(lib::error_code const &ec)> websocketpp::write_frame_handler
 

Enumerations

enum  websocketpp::session::state::value { websocketpp::session::state::connecting = 0, websocketpp::session::state::open = 1, websocketpp::session::state::closing = 2, websocketpp::session::state::closed = 3 }
 
enum  websocketpp::session::fail::status::value {
  websocketpp::session::fail::status::GOOD = 0, websocketpp::session::fail::status::SYSTEM = 1, websocketpp::session::fail::status::WEBSOCKET = 2, websocketpp::session::fail::status::UNKNOWN = 3,
  websocketpp::session::fail::status::TIMEOUT_TLS = 4, websocketpp::session::fail::status::TIMEOUT_WS = 5
}
 
enum  websocketpp::session::internal_state::value {
  websocketpp::session::internal_state::USER_INIT = 0, websocketpp::session::internal_state::TRANSPORT_INIT = 1, websocketpp::session::internal_state::READ_HTTP_REQUEST = 2, websocketpp::session::internal_state::WRITE_HTTP_REQUEST = 3,
  websocketpp::session::internal_state::READ_HTTP_RESPONSE = 4, websocketpp::session::internal_state::WRITE_HTTP_RESPONSE = 5, websocketpp::session::internal_state::PROCESS_HTTP_REQUEST = 6, websocketpp::session::internal_state::PROCESS_CONNECTION = 7
}
 
enum  websocketpp::session::http_state::value {
  websocketpp::session::http_state::init = 0, websocketpp::session::http_state::deferred = 1, websocketpp::session::http_state::headers_written = 2, websocketpp::session::http_state::body_written = 3,
  websocketpp::session::http_state::closed = 4
}
 

Functions

static std::vector< int > const websocketpp::versions_supported (helper, helper+4)
 Container that stores the list of protocol versions supported. More...
 

Variables

static int const websocketpp::helper [] = {0,7,8,13}
 Helper array to get around lack of initializer lists pre C++11. More...