All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.quorum.tessera.p2p.recovery.RestResendBatchPublisherFactory Maven / Gradle / Ivy

Go to download

Tessera is a stateless Java system that is used to enable the encryption, decryption, and distribution of private transactions for Quorum.

There is a newer version: 24.4.2
Show newest version
package com.quorum.tessera.p2p.recovery;

import com.quorum.tessera.config.CommunicationType;
import com.quorum.tessera.config.Config;
import com.quorum.tessera.recovery.resend.ResendBatchPublisher;
import com.quorum.tessera.recovery.resend.ResendBatchPublisherFactory;

public class RestResendBatchPublisherFactory implements ResendBatchPublisherFactory {

  @Override
  public ResendBatchPublisher create(Config config) {
    RecoveryClient client = RecoveryClientFactory.newFactory(config).create(config);
    return new RestResendBatchPublisher(client);
  }

  @Override
  public CommunicationType communicationType() {
    return CommunicationType.REST;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy