code: def dataReceived(self, data):
          
  #        print "receiver dataReceived: <%s>" % data
          
          msg = stomper.unpack_frame(data)
          
          returned = self.sm.react(msg)
  
  #        print "receiver returned <%s>" % returned
          
          if returned:
              self.transport.write(returned)
docs: Data received, react to it and respond if needed.