def __init__(self, address, port, active, session_id, name, event_handler=None, custom_connection_handler=None): StreamFunctionCallbackHandler.__init__(self) HsmsHandler.__init__(self, address, port, active, session_id, name, event_handler, custom_connection_handler) self.logger = logging.getLogger(self.__module__ + "." + self.__class__.__name__) self.isHost = True
def __init__(self, address, port, active, session_id, name, event_handler=None, custom_connection_handler=None): StreamFunctionCallbackHandler.__init__(self) HsmsHandler.__init__(self, address, port, active, session_id, name, event_handler, custom_connection_handler) self.logger = logging.getLogger(self.__module__ + "." + self.__class__.__name__) self._collectionEvents = {} self._dataValues = {} self._alarms = {} self._remoteCommands = {} self.secsStreamsFunctions = copy.deepcopy(functions.secsStreamsFunctions)