com.quorum.tessera.p2p.resend.ResendClient Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sync-jaxrs Show documentation
Show all versions of sync-jaxrs Show documentation
Tessera is a stateless Java system that is used to enable the encryption, decryption, and distribution of private transactions for Quorum.
The newest version!
package com.quorum.tessera.p2p.resend;
import com.quorum.tessera.serviceloader.ServiceLoaderUtil;
import java.util.ServiceLoader;
/**
* A client that can be used to make resend requests to other nodes. It cannot make requests to
* other endpoints and may have different timeouts than P2P clients.
*/
public interface ResendClient {
boolean makeResendRequest(String targetUrl, ResendRequest request);
static ResendClient create() {
return ServiceLoaderUtil.loadSingle(ServiceLoader.load(ResendClient.class));
}
}