01: package net.matuschek.spider;
02:
03: /*********************************************
04: Copyright (c) 2001 by Daniel Matuschek
05: *********************************************/
06:
07: /**
08: * Callback interface for the webrobot to inform the front end
09: * about the current state
10: *
11: * @author Daniel Matuschek <daniel@matuschek.net>
12: * @version $Id: WebRobotCallback.java,v 1.1 2001/04/18 08:31:08 matuschd Exp $
13: */
14: public interface WebRobotCallback {
15:
16: void webRobotRetrievedDoc(String url, int size);
17:
18: void webRobotUpdateQueueStatus(int length);
19:
20: void webRobotDone();
21:
22: void webRobotSleeping(boolean sleeping);
23:
24: }
|