KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > net > matuschek > spider > WebRobotCallback


1 package net.matuschek.spider;
2
3 /*********************************************
4     Copyright (c) 2001 by Daniel Matuschek
5 *********************************************/

6
7 /**
8  * Callback interface for the webrobot to inform the front end
9  * 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 JavaDoc url, int size);
17
18   void webRobotUpdateQueueStatus(int length);
19
20   void webRobotDone();
21
22   void webRobotSleeping(boolean sleeping);
23
24 }
25
Popular Tags