390 "params": params, |
390 "params": params, |
391 "uuid": reqUuid, |
391 "uuid": reqUuid, |
392 } |
392 } |
393 jsonString = json.dumps(serviceDict) + "\n" |
393 jsonString = json.dumps(serviceDict) + "\n" |
394 |
394 |
395 logging.getLogger(__name__).debug( |
395 logging.getLogger(__name__).debug(f"<Remote Server Interface Tx> {jsonString}") |
396 f"<Remote Server Interface Tx> {jsonString}" |
|
397 ) |
|
398 # - print("Remote Server Interface Send: {0}".format(jsonString)) |
396 # - print("Remote Server Interface Send: {0}".format(jsonString)) |
399 # - this is for debugging only |
397 # - this is for debugging only |
400 |
398 |
401 if self.__connection is not None: |
399 if self.__connection is not None: |
402 data = jsonString.encode("utf8", "backslashreplace") |
400 data = jsonString.encode("utf8", "backslashreplace") |