From ce7b09767ab31c1b4dbe6d33a666da61a98f35cf Mon Sep 17 00:00:00 2001 From: Peter Thorson Date: Sun, 6 Jan 2013 10:10:18 -0600 Subject: [PATCH] adds documentation --- websocketpp/endpoint.hpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/websocketpp/endpoint.hpp b/websocketpp/endpoint.hpp index 401221edf3..973316e16f 100644 --- a/websocketpp/endpoint.hpp +++ b/websocketpp/endpoint.hpp @@ -98,12 +98,21 @@ public: bool is_server() const {return m_is_server;} + /*************************/ + /* Set Handler functions */ + /*************************/ + void set_open_handler(open_handler h) { m_open_handler = h; } void set_interrupt_handler(interrupt_handler h) { m_interrupt_handler = h; } + + /*************************************/ + /* Connection pass through functions */ + /*************************************/ + void interrupt(connection_hdl hdl, lib::error_code & ec) { connection_ptr con = get_con_from_hdl(hdl);