[Foxtrot] API change???
Alan Lawrence
acl33@hermes.cam.ac.uk
Sun, 25 Feb 2001 12:32:51 +0000 (GMT)
Hi all - especially Mike and Mat, maybe Sharum and Matt too -
Can I suggest a small change to the APIs? Basically, get rid of the
displayWorkUnitType() method in StatusDisplayer and put a method
public String getType()
into the WorkUnit interface. Then, I can modify the clients to display
appropriate messages whenever they get a new work unit - e.g. could
display the type of the work unit every time I get one as an ALL_MSG, but
when it changes, display it is an INTERESTING_MSG - and save you having to
do something about it in the doWork() method (which Pollard-Rho doesn't do
anyway).
Any comments?
--Alan