⇒ Index (Frames) | ⇒ Index (No Frames) | ⇒ Package | ⇒ Package Tree | ⇒ Full Tree 
com.tildemh.debbug

Interface SynchroniserListener


publicinterface SynchroniserListener

Interface to receive notifications when a synchroniser thread makes progress.

This is released under the terms of the GNU Lesser General Public License (LGPL). See the COPYING file for details.

Author:
© Mark Howard <mh@debian.org> 2002

Method Summary

void

done()

called just before the synchroniser exits

void

getBug(int number,int bugNumber)

called when a bug has been downloaded

void

getFullListing(int number,String name)

Called when a listing is being updated

void

getListing(int number,String name)

Called when a listing is being updated

void

notFound(String item)

Called in the event of a listing not found or bug not found error message

void

serverError(ServerError e)

Called in the event of a serverError

void

startBugs(int count)

Called when starting to get the individual reports.

void

startFullListings(int count)

Called when the listings (with reports) are started to be downloaded

void

startListings(int count)

Called when the listings (without reports) are started to be downloaded

Method Details

done

publicvoiddone()

called just before the synchroniser exits


getBug

publicvoidgetBug(int number,int bugNumber)

called when a bug has been downloaded

Parameters:
number
bugNumber

getFullListing

publicvoidgetFullListing(int number,String name)

Called when a listing is being updated

Parameters:
number - Listing number
name - Listing Name

getListing

publicvoidgetListing(int number,String name)

Called when a listing is being updated

Parameters:
number - Listing number
name - Listing Name

notFound

publicvoidnotFound(String item)

Called in the event of a listing not found or bug not found error message

Parameters:
item

serverError

publicvoidserverError(ServerError e)

Called in the event of a serverError

Parameters:
e

startBugs

publicvoidstartBugs(int count)

Called when starting to get the individual reports. Note that this includes ones set by addBug and also ones found in getFullListings

Parameters:
count

startFullListings

publicvoidstartFullListings(int count)

Called when the listings (with reports) are started to be downloaded

Parameters:
count - Number to be downloaded

startListings

publicvoidstartListings(int count)

Called when the listings (without reports) are started to be downloaded

Parameters:
count - Number to be downloaded