def METHOD_NAME(self):
    self.host = self.get_property("host")
    if self.host is None:
        self.host = "localhost"
    self.port = self.get_property("port")
    if self.port is None:
        self.port = 6379
    self.redis_client = redis.StrictRedis(host=self.host, port=self.port, db=0)
    try:
        if self.redis_client.ping():
            self.active = True
    except Exception:
        self.active = False
    if self.active:
        logging.getLogger("HWR").info(
            "RedisClient: listening to connections on %s:%d"
            % (self.host, self.port)
        )
    else:
        logging.getLogger("HWR").error(
            "RedisClient: Redis server %s:%d is not available"
            % (self.host, self.port)
        )
    try:
        self.connect(HWR.beamline.flux, "fluxChanged", self.flux_changed)
    except Exception:
        pass
    self.proposal_id = HWR.beamline.session.get_proposal()
    self.beamline_name = HWR.beamline.session.beamline_name
    if self.active:
        self.init_beamline_setup()