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

com.scalar.dl.client.service.AbstractAuditorClient Maven / Gradle / Ivy

There is a newer version: 3.10.0
Show newest version
package com.scalar.dl.client.service;

import com.scalar.dl.ledger.model.LedgerValidationResult;
import com.scalar.dl.rpc.ContractExecutionRequest;
import com.scalar.dl.rpc.ContractExecutionResponse;
import com.scalar.dl.rpc.ExecutionOrderingResponse;
import com.scalar.dl.rpc.ExecutionValidationRequest;
import com.scalar.dl.rpc.LedgerValidationRequest;
import com.scalar.dl.rpc.LedgerValidationResponse;
import java.util.concurrent.Future;

public abstract class AbstractAuditorClient implements Client {

  abstract ExecutionOrderingResponse order(ContractExecutionRequest request);

  abstract ContractExecutionResponse validate(ExecutionValidationRequest request);

  abstract Future validateAsync(LedgerValidationRequest request);

  abstract LedgerValidationResult validateAwait(Future future);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy