Class ActiveContractClientImpl

    • Constructor Detail

      • ActiveContractClientImpl

        public ActiveContractClientImpl​(java.lang.String ledgerId,
                                        io.grpc.Channel channel,
                                        com.daml.grpc.adapter.ExecutionSequencerFactory sequencerFactory,
                                        java.util.Optional<java.lang.String> accessToken)
    • Method Detail

      • getActiveContracts

        public <Ct> io.reactivex.Flowable<ActiveContracts<Ct>> getActiveContracts​(ContractFilter<Ct> contractFilter,
                                                                                  java.util.Set<java.lang.String> parties,
                                                                                  boolean verbose)
        Description copied from interface: ActiveContractsClient
        Get active Contracts
        Specified by:
        getActiveContracts in interface ActiveContractsClient
        Parameters:
        contractFilter - Utilities for specified type of contract. It can be instantiated with ContractTypeCompanion
        parties - Set of parties to be included in the transaction filter.
        verbose - If enabled, values served over the API will contain more information than strictly necessary to interpret the data.
        Returns:
        Flowable of active contracts of type Ct
      • getActiveContracts

        public <Ct> io.reactivex.Flowable<ActiveContracts<Ct>> getActiveContracts​(ContractFilter<Ct> contractFilter,
                                                                                  java.util.Set<java.lang.String> parties,
                                                                                  boolean verbose,
                                                                                  java.lang.String accessToken)
        Description copied from interface: ActiveContractsClient
        Get active Contracts
        Specified by:
        getActiveContracts in interface ActiveContractsClient
        Parameters:
        contractFilter - Utilities for specified type of contract. It can be instantiated with ContractTypeCompanion
        parties - Set of parties to be included in the transaction filter.
        verbose - If enabled, values served over the API will contain more information than strictly necessary to interpret the data.
        accessToken - Access token for authentication.
        Returns:
        Active contracts of type Ct