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

com.jd.blockchain.consensus.action.ActionResponse Maven / Gradle / Ivy

There is a newer version: 1.6.5.RELEASE
Show newest version
package com.jd.blockchain.consensus.action;

import com.jd.binaryproto.DataContract;
import com.jd.binaryproto.DataField;
import com.jd.binaryproto.PrimitiveType;
import com.jd.blockchain.consts.DataCodes;

@DataContract(code= DataCodes.CONSENSUS_ACTION_RESPONSE)
public interface ActionResponse {

	@DataField(order=1, list=true, primitiveType= PrimitiveType.INT8)
	byte[] getMessage();

    @DataField(order=2, primitiveType=PrimitiveType.BOOLEAN)
	boolean getError();

    @DataField(order=3, primitiveType=PrimitiveType.TEXT)
	String getErrorMessage();

	@DataField(order=4, primitiveType=PrimitiveType.TEXT)
	String getErrorType();

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy