1 // ReceiveListener.java - a HylaFAX Job representation 2 // $Id: ReceiveListener.java,v 1.2 2006/02/20 04:52:10 sjardine Exp $ 3 // 4 // Copyright 2003 Innovation Software Group, LLC - http://www.innovationsw.com 5 // Joe Phillips <joe.phillips@innovationsw.com> 6 // 7 // for information on the HylaFAX FAX server see 8 // http://www.hylafax.org/ 9 // 10 // This library is free software; you can redistribute it and/or 11 // modify it under the terms of the GNU Library General Public 12 // License as published by the Free Software Foundation; either 13 // version 2 of the License, or (at your option) any later version. 14 // 15 // This library is distributed in the hope that it will be useful, 16 // but WITHOUT ANY WARRANTY; without even the implied warranty of 17 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 18 // Library General Public License for more details. 19 // 20 // You should have received a copy of the GNU Library General Public 21 // License along with this library; if not, write to the Free 22 // Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 23 // 24 package gnu.hylafax.job; 25 26 /*** 27 * This interface defines what a class interested in receiving receive events 28 * should implement. A Listener should register for events from a Notifier. 29 * 30 * @author $Author: sjardine $ 31 * @version $Id: ReceiveListener.java,v 1.2 2006/02/20 04:52:10 sjardine Exp $ 32 * @see gnu.hylafax.job.ReceiveNotifier 33 * @see gnu.hylafax.job.ReceiveEvent 34 */ 35 public interface ReceiveListener { 36 37 /*** 38 * This method is called when send Job state changes. 39 */ 40 public void onReceiveEvent(ReceiveEvent details); 41 42 }// ReceiveListener class 43 // ReceiveListener.java