def process_msg(self, msg):
jmsg = json.loads(msg)<EOL>msgtype = jmsg['<STR_LIT>']<EOL>msgdata = jmsg['<STR_LIT>']<EOL>_LOGGER.debug('<STR_LIT>', msgtype)<EOL>if msgtype == '<STR_LIT>':<EOL><INDENT>self._sessions = msgdata<EOL>self.update_device_list(self._sessions)<EOL><DEDENT>"""<STR_LIT>"""<EOL>
Process messages from the event stream.