org.civis.blockchain.ssm.client.query.AbstractQuery Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ssm-sdk-client Show documentation
Show all versions of ssm-sdk-client Show documentation
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