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

org.civis.blockchain.ssm.client.query.AbstractQuery Maven / Gradle / Ivy

Go to download

A SDK HTTP Client implementation to interact with signing state machines chaincode developped for Hyperleger Fabric.

The newest version!
package org.civis.blockchain.ssm.client.query;

import org.civis.blockchain.ssm.client.command.InvokeArgs;

public abstract class AbstractQuery {

    public abstract String functionGetValue();

    public InvokeArgs queryArgs(String username) {
        return new InvokeArgs(functionGetValue(), username);
    }

    public InvokeArgs listArgs() {
        return new InvokeArgs(HasList.LIST_FUNCTION, functionGetValue());
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy