wamp_transport_handler.hpp
A class that represents a wamp message in its simplest form.
Definition: wamp_message.hpp:53
virtual ~wamp_transport_handler()=default
Default virtual destructor.
virtual void on_detach(bool was_clean, const std::string &reason)=0
Called by the transport when detaching a handler.
virtual void on_message(wamp_message &&message)=0
Called by the transport when a message is received.
virtual void on_attach(const std::shared_ptr< wamp_transport > &transport)=0
Called by the transport when attaching a handler.
Definition: exceptions.hpp:37
Provides an abstraction for associating a handler with a transport.
Definition: wamp_transport_handler.hpp:47