Removes handler_interface from all transport code

This commit is contained in:
Peter Thorson
2013-01-07 12:30:41 -06:00
parent 6a4173578e
commit ebfb8b8e2f
4 changed files with 2 additions and 27 deletions

View File

@@ -42,9 +42,7 @@ namespace websocketpp {
namespace istate = session::internal_state;
template <typename config>
void connection<config>::set_handler(
handler_ptr new_handler)
{
void connection<config>::set_handler(handler_ptr new_handler) {
std::cout << "connection set_handler" << std::endl;
//scoped_lock_type lock(m_connection_state_lock);
@@ -59,8 +57,6 @@ void connection<config>::set_handler(
}
m_handler = new_handler;
transport_con_type::set_handler(new_handler);
new_handler->on_load(type::shared_from_this(),old_handler);
}