Reconnect for client implemented

This commit is contained in:
Dirk Alders 2020-09-10 08:54:11 +02:00
parent 1fa2e2fcf9
commit f4a7f1e7a4

View File

@ -198,6 +198,9 @@ class struct_json_protocol(object):
def is_connected(self):
return self.__comm_inst__.is_connected()
def reconnect(self):
return self.__comm_inst__.reconnect()
def __authentification_state_reset__(self):
logger.info("%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", self.LOG_PREFIX)
self.__authentification_state__ = self.AUTH_STATE_UNKNOWN_CLIENT