
br.com.esec.icpm.libs.signature.response.handler.SignatureAsynchHandler Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of certillion-client-library Show documentation
Show all versions of certillion-client-library Show documentation
This library is used to make integration with Certillion server, so our Clients can easily ask for signatures or generate certificates.
package br.com.esec.icpm.libs.signature.response.handler;
import java.util.concurrent.TimeoutException;
import br.com.esec.icpm.server.ws.ICPMException;
public interface SignatureAsynchHandler extends SignatureHandler {
long DEFAULT_TIMEOUT = 60; // 60s
SignatureAsynchHandler waitTo() throws ICPMException, InterruptedException, TimeoutException;
SignatureAsynchHandler waitTo(long timeout) throws ICPMException, InterruptedException, TimeoutException;
SignatureAsynchHandler addListener(Listener listener) throws ICPMException, InterruptedException, TimeoutException;
public interface Listener {
void onSuccess(SignatureAsynchHandler handler);
void onFailed(Throwable e);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy