code: def new_connection_status(self, conn_status):
          
          if conn_status.status == CONNECTION_STATUS_CONNECTED:
              self._mz.update_members()
          if (conn_status.status == CONNECTION_STATUS_DISCONNECTED or
                  conn_status.status == CONNECTION_STATUS_LOST):
              self._mz.reset_members()
docs: Handle reception of a new ConnectionStatus.