View Javadoc

1   /*
2    *******************************************************************************
3    * Copyright (c) 2005 Chris Rose and AIMedia
4    * All rights reserved. IFoodDatasourceListener and the accompanying materials
5    * are made available under the terms of the Common Public License v1.0
6    * which accompanies this distribution, and is available at
7    * http://www.eclipse.org/legal/cpl-v10.html
8    * 
9    * Contributors:
10   *     Chris Rose
11   *******************************************************************************/
12  package ca.spaz.cron.datasource;
13  
14  /***
15   * This interface should be implemented by classes interested in events from a
16   * food datasource.
17   * 
18   * @author Chris Rose
19   */
20  public interface IFoodDatasourceListener {
21  
22     void datasourceUpdated(ILocalFoodDatasource source, FoodDataEvent type, Object message);
23  
24  }