/*
 * BEGIN FLOCK GPL
 *
 * Copyright Flock Inc. 2005-2009
 * http://flock.com
 *
 * This file may be used under the terms of the
 * GNU General Public License Version 2 or later (the "GPL"),
 * http://www.gnu.org/licenses/gpl.html
 *
 * Software distributed under the License is distributed on an "AS IS" basis,
 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
 * for the specific language governing rights and limitations under the
 * License.
 *
 * END FLOCK GPL
 */

#include "nsISupports.idl"
#include "nsIStringEnumerator.idl"
#include "flockIError.idl"

/**
 * This service connects to the favorites rdf backend, and at regular intervals
 * checks for streams that need to be refreshed.
 *
 * At initialization, a timer is set to check in the background so no method call is
 * required. Just make sure to keep this service in memory to ensure the polling.
 *
 * @see flockIPollingService
 */
[scriptable, uuid(d7686637-ac81-447a-bbb6-7a584024ea94)]
interface flockIPollerService : nsISupports {
  /** Ask to the poller to refresh the given stream immediately */
  void forceRefresh(in AString aUrn);
};
