package no.divvun.Analyzer.Client; import no.divvun.Analyzer.Communication.Response; /** * Reqeust listener interface. Client applications should implement this * interface in order to receive status notifications from the request manager. * @author tomi */ public interface DivvunRequestListener { /** * This method gets called periodically during as the request gets processed. * @param divvunrequeststatus Current status of the request processing. */ public abstract void requestStatusChanged(DivvunRequestStatus divvunrequeststatus); /** * This method gets called when the request is finished. The success of the * request can be obtained by calling response.getStatus() -method * @param response Response message of the request. */ public abstract void requestCompleted(Response response); }