1501 jsonStr = data.decode("utf-8", "backslashreplace") |
1501 jsonStr = data.decode("utf-8", "backslashreplace") |
1502 |
1502 |
1503 logging.debug("<Debug-Server> %s", jsonStr) |
1503 logging.debug("<Debug-Server> %s", jsonStr) |
1504 ##print("Server: ", jsonStr) ## debug # __IGNORE_WARNING_M891__ |
1504 ##print("Server: ", jsonStr) ## debug # __IGNORE_WARNING_M891__ |
1505 |
1505 |
1506 self.handleJsonCommand(jsonStr, sock) |
1506 self.__handleJsonCommand(jsonStr, sock) |
1507 |
1507 |
1508 def handleJsonCommand(self, jsonStr, sock): |
1508 def handleJsonCommand(self, jsonStr, sock): |
1509 """ |
1509 """ |
1510 Public method to handle a command or response serialized as a |
1510 Public method to handle a command or response serialized as a |
1511 JSON string. |
1511 JSON string. |