#pragma once #include class WSMessage; class WSMessageReceiver : public Weakable { public: WSMessageReceiver(); virtual ~WSMessageReceiver(); virtual void on_message(WSMessage&) = 0; };