def on_message(self, headers, body):
        self.messages += 1
Increment the message received count. See :py:meth:`ConnectionListener.on_message`
dataset/ETHPy150Open jasonrbriggs/stomp.py/stomp/listener.py/StatsListener.on_message