libs/wampcc/wamp_session.cc
/* Notify any callback of state change to open. This is deliberately performed
 * on the event thread, to prevent IO thread going into user code.
 */
Notify any callback of state change to open. This is deliberately performed
on the event thread, to prevent IO thread going into user code.
Notify any callback of state change to open . This is deliberately performed on the event thread to prevent IO thread going into user code .
void wamp_session::notify_session_open()
{
  if (m_notify_state_change_fn)
    m_notify_state_change_fn(*this, true );
  m_promise_on_open.set_value();
}
void wamp_session :: notify_session_open ( ) { if ( m_notify_state_change_fn ) m_notify_state_change_fn ( * this , true ) ; m_promise_on_open . set_value ( ) ; }
Notify any callback of state change to open.
Notify any callback of state change to open .
/* EV thread */ /* session is open */